-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration: Polish MarkdownOptions type + add test for custom option…
…s behavior
- Loading branch information
1 parent
4c0f5a7
commit 944a293
Showing
3 changed files
with
130 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Some Custom Title for Complex App | ||
|
||
This document contains the help content for the `complex-app` command-line program. | ||
|
||
**Command Overview:** | ||
|
||
* [`complex-app`↴](#complex-app) | ||
* [`complex-app test`↴](#complex-app-test) | ||
* [`complex-app only-hidden-options`↴](#complex-app-only-hidden-options) | ||
|
||
## `complex-app` | ||
|
||
An example command-line tool | ||
|
||
**Usage:** `complex-app [OPTIONS] [NAME] [COMMAND]` | ||
|
||
###### **Subcommands:** | ||
|
||
* `test` — does testing things | ||
* `only-hidden-options` — Demo that `Options` is not printed if all options are hidden | ||
|
||
###### **Arguments:** | ||
|
||
* `<NAME>` — Optional name to operate on | ||
|
||
Longer description | ||
|
||
###### **Options:** | ||
|
||
* `-c`, `--config <FILE>` — Sets a custom config file | ||
* `--target <TARGET>` | ||
|
||
Default value: `local` | ||
|
||
Possible values: | ||
- `local`: | ||
Do the operation locally | ||
- `remote` | ||
|
||
* `-d`, `--debug` — Turn debugging information on | ||
|
||
Repeat this option to see more and more debug information. | ||
|
||
|
||
|
||
## `complex-app test` | ||
|
||
does testing things | ||
|
||
**Usage:** `complex-app test [OPTIONS]` | ||
|
||
###### **Options:** | ||
|
||
* `-l`, `--list` — lists test values | ||
|
||
|
||
|
||
## `complex-app only-hidden-options` | ||
|
||
Demo that `Options` is not printed if all options are hidden | ||
|
||
**Usage:** `complex-app only-hidden-options` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters