-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set expected max_width from 100 to 80
- Loading branch information
Showing
47 changed files
with
585 additions
and
527 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
32 changes: 16 additions & 16 deletions
32
tests/expectations/test_rich_click[test arguments with rich_config].out
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Usage: cli [OPTIONS] INPUT | ||
My amazing tool does all the things. | ||
This is a minimal example based on documentation from the 'click' package. | ||
You can try using --help at the top level and also for specific group subcommands. | ||
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮ | ||
│ * INPUT PATH [required] │ | ||
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ | ||
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ | ||
│ --type TEXT Type of file to sync [default: files] │ | ||
│ --all Sync all the things? │ | ||
│ --debug Enable debug mode │ | ||
│ --help Show this message and exit. │ | ||
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ | ||
Usage: cli [OPTIONS] INPUT | ||
My amazing tool does all the things. | ||
This is a minimal example based on documentation from the 'click' package. | ||
You can try using --help at the top level and also for specific group | ||
subcommands. | ||
|
||
╭─ Arguments ──────────────────────────────────────────────────────────────────╮ | ||
│ * INPUT PATH [required] │ | ||
╰──────────────────────────────────────────────────────────────────────────────╯ | ||
╭─ Options ────────────────────────────────────────────────────────────────────╮ | ||
│ --type TEXT Type of file to sync [default: files] │ | ||
│ --all Sync all the things? │ | ||
│ --debug Enable debug mode │ | ||
│ --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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
|
||
Usage: cli [OPTIONS] INPUT | ||
|
||
My amazing tool does all the things. | ||
This is a minimal example based on documentation from the 'click' package. | ||
You can try using --help at the top level and also for specific group subcommands. | ||
|
||
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮ | ||
│ * INPUT PATH [required] │ | ||
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ | ||
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ | ||
│ --type TEXT Type of file to sync [default: files] │ | ||
│ --all Sync all the things? │ | ||
│ --debug Enable debug mode │ | ||
│ --help Show this message and exit. │ | ||
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ | ||
|
||
Usage: cli [OPTIONS] INPUT | ||
|
||
My amazing tool does all the things. | ||
This is a minimal example based on documentation from the 'click' package. | ||
You can try using --help at the top level and also for specific group | ||
subcommands. | ||
|
||
╭─ Arguments ──────────────────────────────────────────────────────────────────╮ | ||
│ * INPUT PATH [required] │ | ||
╰──────────────────────────────────────────────────────────────────────────────╯ | ||
╭─ Options ────────────────────────────────────────────────────────────────────╮ | ||
│ --type TEXT Type of file to sync [default: files] │ | ||
│ --all Sync all the things? │ | ||
│ --debug Enable debug mode │ | ||
│ --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
20 changes: 10 additions & 10 deletions
20
tests/expectations/test_rich_click[test custom errors help].out
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[33mUsage:[0m cli [[1;36mOPTIONS[0m] [1;36mINPUT[0m | ||
[3;35m [0m[3;35mTry running the '[0m[1;3;36m-[0m[1;3;36m-help[0m[3;35m' flag for more information.[0m[3;35m [0m[3;35m [0m | ||
[31m╭─[0m[31m Error [0m[31m─────────────────────────────────────────────────────────────────────────────────────────[0m[31m─╮[0m | ||
[31m│[0m Invalid usage [31m│[0m | ||
[31m╰──────────────────────────────────────────────────────────────────────────────────────────────────╯[0m | ||
To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ | ||
|
||
[33mUsage:[0m cli [[1;36mOPTIONS[0m] [1;36mINPUT[0m | ||
|
||
[3;35m [0m[3;35mTry running the '[0m[1;3;36m-[0m[1;3;36m-help[0m[3;35m' flag for more information.[0m[3;35m [0m[3;35m [0m | ||
[31m╭─[0m[31m Error [0m[31m─────────────────────────────────────────────────────────────────────[0m[31m─╮[0m | ||
[31m│[0m Invalid usage [31m│[0m | ||
[31m╰──────────────────────────────────────────────────────────────────────────────╯[0m | ||
|
||
To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ | ||
|
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
19 changes: 9 additions & 10 deletions
19
tests/expectations/test_rich_click[test custom errors with rich_config].out
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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
|
||
[33mUsage:[0m cli [[1;36mOPTIONS[0m] [1;36mINPUT[0m | ||
|
||
[3;35m [0m[3;35mTry running the '[0m[1;3;36m-[0m[1;3;36m-help[0m[3;35m' flag for more information.[0m[3;35m [0m[3;35m [0m | ||
[31m╭─[0m[31m Error [0m[31m─────────────────────────────────────────────────────────────────────────────────────────[0m[31m─╮[0m | ||
[31m│[0m Invalid usage [31m│[0m | ||
[31m╰──────────────────────────────────────────────────────────────────────────────────────────────────╯[0m | ||
|
||
To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ | ||
|
||
[33mUsage:[0m cli [[1;36mOPTIONS[0m] [1;36mINPUT[0m | ||
|
||
[3;35m [0m[3;35mTry running the '[0m[1;3;36m-[0m[1;3;36m-help[0m[3;35m' flag for more information.[0m[3;35m [0m[3;35m [0m | ||
[31m╭─[0m[31m Error [0m[31m─────────────────────────────────────────────────────────────────────[0m[31m─╮[0m | ||
[31m│[0m Invalid usage [31m│[0m | ||
[31m╰──────────────────────────────────────────────────────────────────────────────╯[0m | ||
|
||
To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ | ||
|
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
28 changes: 14 additions & 14 deletions
28
tests/expectations/test_rich_click[test declarative with rich_config].out
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Usage: cli [OPTIONS] COMMAND [ARGS]... | ||
My amazing tool does all the things. | ||
This is a minimal example based on documentation from the 'click' package. | ||
You can try using --help at the top level and also for specific group subcommands. | ||
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ | ||
│ --debug/--no-debug │ | ||
│ --help Show this message and exit. │ | ||
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ | ||
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────╮ | ||
│ sync Synchronise all your files between two places. │ | ||
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ | ||
Usage: cli [OPTIONS] COMMAND [ARGS]... | ||
My amazing tool does all the things. | ||
This is a minimal example based on documentation from the 'click' package. | ||
You can try using --help at the top level and also for specific group | ||
subcommands. | ||
|
||
╭─ Options ────────────────────────────────────────────────────────────────────╮ | ||
│ --debug/--no-debug │ | ||
│ --help Show this message and exit. │ | ||
╰──────────────────────────────────────────────────────────────────────────────╯ | ||
╭─ Commands ───────────────────────────────────────────────────────────────────╮ | ||
│ sync Synchronise all your files between two places. │ | ||
╰──────────────────────────────────────────────────────────────────────────────╯ |
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
Oops, something went wrong.