-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: add option to override title * feat: add option to hide footer * integration: Polish MarkdownOptions type + add test for custom options behavior --------- Co-authored-by: Morgante Pell <[email protected]>
- Loading branch information
1 parent
f2ed6eb
commit e13c09d
Showing
3 changed files
with
151 additions
and
7 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