-
-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add support for
typer ./someprogram.py utils docs --title
(#782)
Co-authored-by: Jeffrey Newman <[email protected]>
- Loading branch information
Showing
4 changed files
with
143 additions
and
3 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
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,102 @@ | ||
# Awesome CLI | ||
|
||
Demo App | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ multiapp [OPTIONS] COMMAND [ARGS]... | ||
``` | ||
|
||
**Options**: | ||
|
||
* `--install-completion`: Install completion for the current shell. | ||
* `--show-completion`: Show completion for the current shell, to copy it or customize the installation. | ||
* `--help`: Show this message and exit. | ||
|
||
The end | ||
|
||
**Commands**: | ||
|
||
* `sub` | ||
* `top`: Top command | ||
|
||
## `multiapp sub` | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ multiapp sub [OPTIONS] COMMAND [ARGS]... | ||
``` | ||
|
||
**Options**: | ||
|
||
* `--help`: Show this message and exit. | ||
|
||
**Commands**: | ||
|
||
* `bye`: Say bye | ||
* `hello`: Say Hello | ||
* `hi`: Say Hi | ||
|
||
### `multiapp sub bye` | ||
|
||
Say bye | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ multiapp sub bye [OPTIONS] | ||
``` | ||
|
||
**Options**: | ||
|
||
* `--help`: Show this message and exit. | ||
|
||
### `multiapp sub hello` | ||
|
||
Say Hello | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ multiapp sub hello [OPTIONS] | ||
``` | ||
|
||
**Options**: | ||
|
||
* `--name TEXT`: [default: World] | ||
* `--age INTEGER`: The age of the user [default: 0] | ||
* `--help`: Show this message and exit. | ||
|
||
### `multiapp sub hi` | ||
|
||
Say Hi | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ multiapp sub hi [OPTIONS] [USER] | ||
``` | ||
|
||
**Arguments**: | ||
|
||
* `[USER]`: The name of the user to greet [default: World] | ||
|
||
**Options**: | ||
|
||
* `--help`: Show this message and exit. | ||
|
||
## `multiapp top` | ||
|
||
Top command | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ multiapp top [OPTIONS] | ||
``` | ||
|
||
**Options**: | ||
|
||
* `--help`: Show this message and exit. |
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