diff --git a/tests/conftest.py b/tests/conftest.py index 6dcdfa15..57d8760d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -129,7 +129,7 @@ def initialize_rich_click(): # each test reload(rc) # default config settings from https://github.com/Textualize/rich/blob/master/tests/render.py - rc.MAX_WIDTH = 100 + rc.MAX_WIDTH = 80 rc.COLOR_SYSTEM = "truecolor" rc.FORCE_TERMINAL = True diff --git a/tests/expectations/test_rich_click[test arguments with rich_config].config.json b/tests/expectations/test_rich_click[test arguments with rich_config].config.json index e4718921..36abadcc 100644 --- a/tests/expectations/test_rich_click[test arguments with rich_config].config.json +++ b/tests/expectations/test_rich_click[test arguments with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test arguments with rich_config].out b/tests/expectations/test_rich_click[test arguments with rich_config].out index 626f003b..1fb734eb 100644 --- a/tests/expectations/test_rich_click[test arguments with rich_config].out +++ b/tests/expectations/test_rich_click[test arguments with rich_config].out @@ -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. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test arguments].config.json b/tests/expectations/test_rich_click[test arguments].config.json index e4718921..36abadcc 100644 --- a/tests/expectations/test_rich_click[test arguments].config.json +++ b/tests/expectations/test_rich_click[test arguments].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test arguments].out b/tests/expectations/test_rich_click[test arguments].out index 626f003b..8ea4c01c 100644 --- a/tests/expectations/test_rich_click[test arguments].out +++ b/tests/expectations/test_rich_click[test arguments].out @@ -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. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test custom errors help].config.json b/tests/expectations/test_rich_click[test custom errors help].config.json index 2e0a1998..2edc78df 100644 --- a/tests/expectations/test_rich_click[test custom errors help].config.json +++ b/tests/expectations/test_rich_click[test custom errors help].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "magenta italic", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test custom errors help].out b/tests/expectations/test_rich_click[test custom errors help].out index 772d7ac8..1b7f303d 100644 --- a/tests/expectations/test_rich_click[test custom errors help].out +++ b/tests/expectations/test_rich_click[test custom errors help].out @@ -1,10 +1,10 @@ - - Usage: cli [OPTIONS] INPUT - - Try running the '--help' flag for more information.   -╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮ -│ Invalid usage │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ - - To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ - + + Usage: cli [OPTIONS] INPUT + + Try running the '--help' flag for more information.   +╭─ Error ──────────────────────────────────────────────────────────────────────╮ +│ Invalid usage │ +╰──────────────────────────────────────────────────────────────────────────────╯ + + To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ + diff --git a/tests/expectations/test_rich_click[test custom errors with rich_config].config.json b/tests/expectations/test_rich_click[test custom errors with rich_config].config.json index 2e0a1998..2edc78df 100644 --- a/tests/expectations/test_rich_click[test custom errors with rich_config].config.json +++ b/tests/expectations/test_rich_click[test custom errors with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "magenta italic", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test custom errors with rich_config].out b/tests/expectations/test_rich_click[test custom errors with rich_config].out index 772d7ac8..3675a841 100644 --- a/tests/expectations/test_rich_click[test custom errors with rich_config].out +++ b/tests/expectations/test_rich_click[test custom errors with rich_config].out @@ -1,10 +1,9 @@ - - Usage: cli [OPTIONS] INPUT - - Try running the '--help' flag for more information.   -╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮ -│ Invalid usage │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ - - To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ - +Usage: cli [OPTIONS] INPUT + + Try running the '--help' flag for more information.   +╭─ Error ──────────────────────────────────────────────────────────────────────╮ +│ Invalid usage │ +╰──────────────────────────────────────────────────────────────────────────────╯ + + To find out more, visit ]8;id=0;foo\https://mytool.com]8;;\ + diff --git a/tests/expectations/test_rich_click[test declarative with rich_config].config.json b/tests/expectations/test_rich_click[test declarative with rich_config].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test declarative with rich_config].config.json +++ b/tests/expectations/test_rich_click[test declarative with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test declarative with rich_config].out b/tests/expectations/test_rich_click[test declarative with rich_config].out index 09221dc5..b159234e 100644 --- a/tests/expectations/test_rich_click[test declarative with rich_config].out +++ b/tests/expectations/test_rich_click[test declarative with rich_config].out @@ -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. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test declarative].config.json b/tests/expectations/test_rich_click[test declarative].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test declarative].config.json +++ b/tests/expectations/test_rich_click[test declarative].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test declarative].out b/tests/expectations/test_rich_click[test declarative].out index 09221dc5..cf3d16e5 100644 --- a/tests/expectations/test_rich_click[test declarative].out +++ b/tests/expectations/test_rich_click[test declarative].out @@ -1,14 +1,15 @@ - - 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. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test environment variables with rich_config].config.json b/tests/expectations/test_rich_click[test environment variables with rich_config].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test environment variables with rich_config].config.json +++ b/tests/expectations/test_rich_click[test environment variables with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test environment variables with rich_config].out b/tests/expectations/test_rich_click[test environment variables with rich_config].out index f191ff5e..41a8cb08 100644 --- a/tests/expectations/test_rich_click[test environment variables with rich_config].out +++ b/tests/expectations/test_rich_click[test environment variables with rich_config].out @@ -1,13 +1,13 @@ Debug mode is off - - Usage: cli greet [OPTIONS] - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --username TEXT This can be set via env var GREETER_GREET_USERNAME │ -│ [env var: GREETER_GREET_USERNAME] │ -│ --nickname TEXT This can be set via env var NICKNAME [env var: NICKNAME] │ -│ --email TEXT This can be set via env var EMAIL or EMAIL_ADDRESS │ -│ [env var: EMAIL, EMAIL_ADDRESS] │ -│ [default: foo@bar.com] │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + Usage: cli greet [OPTIONS] + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --username TEXT This can be set via env var GREETER_GREET_USERNAME │ +│ [env var: GREETER_GREET_USERNAME] │ +│ --nickname TEXT This can be set via env var NICKNAME [env var: NICKNAME] │ +│ --email TEXT This can be set via env var EMAIL or EMAIL_ADDRESS │ +│ [env var: EMAIL, EMAIL_ADDRESS] │ +│ [default: foo@bar.com] │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test envvar].config.json b/tests/expectations/test_rich_click[test envvar].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test envvar].config.json +++ b/tests/expectations/test_rich_click[test envvar].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test envvar].out b/tests/expectations/test_rich_click[test envvar].out index f191ff5e..c597054f 100644 --- a/tests/expectations/test_rich_click[test envvar].out +++ b/tests/expectations/test_rich_click[test envvar].out @@ -1,13 +1,13 @@ Debug mode is off - - Usage: cli greet [OPTIONS] - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --username TEXT This can be set via env var GREETER_GREET_USERNAME │ -│ [env var: GREETER_GREET_USERNAME] │ -│ --nickname TEXT This can be set via env var NICKNAME [env var: NICKNAME] │ -│ --email TEXT This can be set via env var EMAIL or EMAIL_ADDRESS │ -│ [env var: EMAIL, EMAIL_ADDRESS] │ -│ [default: foo@bar.com] │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + Usage: cli greet [OPTIONS] + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --username TEXT This can be set via env var GREETER_GREET_USERNAME │ +│ [env var: GREETER_GREET_USERNAME] │ +│ --nickname TEXT This can be set via env var NICKNAME [env var: NICKNAME] │ +│ --email TEXT This can be set via env var EMAIL or EMAIL_ADDRESS │ +│ [env var: EMAIL, EMAIL_ADDRESS] │ +│ [default: foo@bar.com] │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test group sorting].config.json b/tests/expectations/test_rich_click[test group sorting].config.json index ec87d0eb..835c4d3a 100644 --- a/tests/expectations/test_rich_click[test group sorting].config.json +++ b/tests/expectations/test_rich_click[test group sorting].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test group sorting].out b/tests/expectations/test_rich_click[test group sorting].out index 694f5744..706466f5 100644 --- a/tests/expectations/test_rich_click[test group sorting].out +++ b/tests/expectations/test_rich_click[test group sorting].out @@ -1,23 +1,23 @@ - - 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 subcommands. - -╭─ Basic usage ────────────────────────────────────────────────────────────────────────────────────╮ -│ * --type TEXT Type of file to sync [default: files] [required] │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Advanced options ───────────────────────────────────────────────────────────────────────────────╮ -│ --help -h Show this message and exit. │ -│ --version Show the version and exit. │ -│ --debug/--no-debug -d/-n Show the debug log messages [default: no-debug] │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Main usage ─────────────────────────────────────────────────────────────────────────────────────╮ -│ sync Synchronise all your files between two places. │ -│ download Pretend to download some files from somewhere. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Configuration ──────────────────────────────────────────────────────────────────────────────────╮ -│ config Set up the configuration. │ -│ auth Authenticate the app. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + 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 subcommands. + +╭─ Basic usage ────────────────────────────────────────────────────────────────╮ +│ * --type TEXT Type of file to sync [default: files] [required] │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Advanced options ───────────────────────────────────────────────────────────╮ +│ --help -h Show this message and exit. │ +│ --version Show the version and exit. │ +│ --debug/--no-debug -d/-n Show the debug log messages [default: no-debug] │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Main usage ─────────────────────────────────────────────────────────────────╮ +│ sync Synchronise all your files between two places. │ +│ download Pretend to download some files from somewhere. │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Configuration ──────────────────────────────────────────────────────────────╮ +│ config Set up the configuration. │ +│ auth Authenticate the app. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test groups sorting with rich_config].config.json b/tests/expectations/test_rich_click[test groups sorting with rich_config].config.json index ec87d0eb..835c4d3a 100644 --- a/tests/expectations/test_rich_click[test groups sorting with rich_config].config.json +++ b/tests/expectations/test_rich_click[test groups sorting with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test groups sorting with rich_config].out b/tests/expectations/test_rich_click[test groups sorting with rich_config].out index 694f5744..f14366aa 100644 --- a/tests/expectations/test_rich_click[test groups sorting with rich_config].out +++ b/tests/expectations/test_rich_click[test groups sorting with rich_config].out @@ -1,23 +1,22 @@ - - 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 subcommands. - -╭─ Basic usage ────────────────────────────────────────────────────────────────────────────────────╮ -│ * --type TEXT Type of file to sync [default: files] [required] │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Advanced options ───────────────────────────────────────────────────────────────────────────────╮ -│ --help -h Show this message and exit. │ -│ --version Show the version and exit. │ -│ --debug/--no-debug -d/-n Show the debug log messages [default: no-debug] │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Main usage ─────────────────────────────────────────────────────────────────────────────────────╮ -│ sync Synchronise all your files between two places. │ -│ download Pretend to download some files from somewhere. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Configuration ──────────────────────────────────────────────────────────────────────────────────╮ -│ config Set up the configuration. │ -│ auth Authenticate the app. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +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 subcommands. + +╭─ Basic usage ────────────────────────────────────────────────────────────────╮ +│ * --type TEXT Type of file to sync [default: files] [required] │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Advanced options ───────────────────────────────────────────────────────────╮ +│ --help -h Show this message and exit. │ +│ --version Show the version and exit. │ +│ --debug/--no-debug -d/-n Show the debug log messages [default: no-debug] │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Main usage ─────────────────────────────────────────────────────────────────╮ +│ sync Synchronise all your files between two places. │ +│ download Pretend to download some files from somewhere. │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Configuration ──────────────────────────────────────────────────────────────╮ +│ config Set up the configuration. │ +│ auth Authenticate the app. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test markdown with rich_config].config.json b/tests/expectations/test_rich_click[test markdown with rich_config].config.json index e4e76c6c..92d6142d 100644 --- a/tests/expectations/test_rich_click[test markdown with rich_config].config.json +++ b/tests/expectations/test_rich_click[test markdown with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test markdown with rich_config].out b/tests/expectations/test_rich_click[test markdown with rich_config].out index 4b531a9c..4da2044d 100644 --- a/tests/expectations/test_rich_click[test markdown with rich_config].out +++ b/tests/expectations/test_rich_click[test markdown with rich_config].out @@ -1,24 +1,23 @@ - - Usage: cli [OPTIONS] - - My amazing tool does all the things. - This is a minimal example based on documentation from the ]8;id=0;foo\click]8;;\]8;id=0;foo\ package]8;;\. - - ▌ Remember: - ▌ • You can try using --help at the top level - ▌ • Also for specific group subcommands. - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --input PATH Input file. [default: a custom default] │ -│ --type TEXT Type of file to sync │ -│ [default: files] │ -│ --all Sync │ -│ │ -│ 1 all │ -│ 2 the │ -│ 3 things? │ -│ --debug ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ │ -│ ┃ Enable debug mode ┃ │ -│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +Usage: cli [OPTIONS] + + My amazing tool does all the things. + This is a minimal example based on documentation from the ]8;id=0;foo\click]8;;\]8;id=0;foo\ package]8;;\. + + ▌ Remember: + ▌ • You can try using --help at the top level + ▌ • Also for specific group subcommands. + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --input PATH Input file. [default: a custom default] │ +│ --type TEXT Type of file to sync │ +│ [default: files] │ +│ --all Sync │ +│ │ +│ 1 all │ +│ 2 the │ +│ 3 things? │ +│ --debug ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ │ +│ ┃ Enable debug mode ┃ │ +│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test markdown].config.json b/tests/expectations/test_rich_click[test markdown].config.json index e4e76c6c..92d6142d 100644 --- a/tests/expectations/test_rich_click[test markdown].config.json +++ b/tests/expectations/test_rich_click[test markdown].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test markdown].out b/tests/expectations/test_rich_click[test markdown].out index 4b531a9c..9f457c53 100644 --- a/tests/expectations/test_rich_click[test markdown].out +++ b/tests/expectations/test_rich_click[test markdown].out @@ -1,24 +1,24 @@ - - Usage: cli [OPTIONS] - - My amazing tool does all the things. - This is a minimal example based on documentation from the ]8;id=0;foo\click]8;;\]8;id=0;foo\ package]8;;\. - - ▌ Remember: - ▌ • You can try using --help at the top level - ▌ • Also for specific group subcommands. - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --input PATH Input file. [default: a custom default] │ -│ --type TEXT Type of file to sync │ -│ [default: files] │ -│ --all Sync │ -│ │ -│ 1 all │ -│ 2 the │ -│ 3 things? │ -│ --debug ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ │ -│ ┃ Enable debug mode ┃ │ -│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + Usage: cli [OPTIONS] + + My amazing tool does all the things. + This is a minimal example based on documentation from the ]8;id=0;foo\click]8;;\]8;id=0;foo\ package]8;;\. + + ▌ Remember: + ▌ • You can try using --help at the top level + ▌ • Also for specific group subcommands. + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --input PATH Input file. [default: a custom default] │ +│ --type TEXT Type of file to sync │ +│ [default: files] │ +│ --all Sync │ +│ │ +│ 1 all │ +│ 2 the │ +│ 3 things? │ +│ --debug ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ │ +│ ┃ Enable debug mode ┃ │ +│ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test metavars default with rich_config].config.json b/tests/expectations/test_rich_click[test metavars default with rich_config].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test metavars default with rich_config].config.json +++ b/tests/expectations/test_rich_click[test metavars default with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test metavars default with rich_config].out b/tests/expectations/test_rich_click[test metavars default with rich_config].out index c4aeb624..a1175f3f 100644 --- a/tests/expectations/test_rich_click[test metavars default with rich_config].out +++ b/tests/expectations/test_rich_click[test metavars default with rich_config].out @@ -1,18 +1,20 @@ - - Usage: cli [OPTIONS] - - 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 Enable debug mode. │ -│ --number [one|two|three|four|five|six|seven|eight This click choice has loads of options. │ -│ |nine|ten|eleven|twelve|thirteen|fourtee │ -│ n|fifteen|sixteen|seventeen|eighteen|nin │ -│ eteen|twenty|twenty-one|twenty-two|twent │ -│ y-three|twenty-four|twenty-five|twenty-s │ -│ ix|twenty-seven|twenty-eight|twenty-nine │ -│ |thirty] │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +Usage: cli [OPTIONS] + + 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 Enable debug mode. │ +│ --number [one|two|three|four|five|six|s This click choice has loads of │ +│ even|eight|nine|ten|eleven|twe options. │ +│ lve|thirteen|fourteen|fifteen| │ +│ sixteen|seventeen|eighteen|nin │ +│ eteen|twenty|twenty-one|twenty │ +│ -two|twenty-three|twenty-four| │ +│ twenty-five|twenty-six|twenty- │ +│ seven|twenty-eight|twenty-nine │ +│ |thirty] │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test metavars default].config.json b/tests/expectations/test_rich_click[test metavars default].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test metavars default].config.json +++ b/tests/expectations/test_rich_click[test metavars default].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test metavars default].out b/tests/expectations/test_rich_click[test metavars default].out index c4aeb624..d791c949 100644 --- a/tests/expectations/test_rich_click[test metavars default].out +++ b/tests/expectations/test_rich_click[test metavars default].out @@ -1,18 +1,21 @@ - - Usage: cli [OPTIONS] - - 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 Enable debug mode. │ -│ --number [one|two|three|four|five|six|seven|eight This click choice has loads of options. │ -│ |nine|ten|eleven|twelve|thirteen|fourtee │ -│ n|fifteen|sixteen|seventeen|eighteen|nin │ -│ eteen|twenty|twenty-one|twenty-two|twent │ -│ y-three|twenty-four|twenty-five|twenty-s │ -│ ix|twenty-seven|twenty-eight|twenty-nine │ -│ |thirty] │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + Usage: cli [OPTIONS] + + 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 Enable debug mode. │ +│ --number [one|two|three|four|five|six|s This click choice has loads of │ +│ even|eight|nine|ten|eleven|twe options. │ +│ lve|thirteen|fourteen|fifteen| │ +│ sixteen|seventeen|eighteen|nin │ +│ eteen|twenty|twenty-one|twenty │ +│ -two|twenty-three|twenty-four| │ +│ twenty-five|twenty-six|twenty- │ +│ seven|twenty-eight|twenty-nine │ +│ |thirty] │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test metavars with rich_config].config.json b/tests/expectations/test_rich_click[test metavars with rich_config].config.json index a0cf69ed..eeb380d0 100644 --- a/tests/expectations/test_rich_click[test metavars with rich_config].config.json +++ b/tests/expectations/test_rich_click[test metavars with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test metavars with rich_config].out b/tests/expectations/test_rich_click[test metavars with rich_config].out index b35a7c56..83c3445a 100644 --- a/tests/expectations/test_rich_click[test metavars with rich_config].out +++ b/tests/expectations/test_rich_click[test metavars with rich_config].out @@ -1,15 +1,16 @@ - - Usage: cli [OPTIONS] - - 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 Enable debug mode. │ -│ --number This click choice has loads of options. │ -│ (one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fi │ -│ fteen|sixteen|seventeen|eighteen|nineteen|twenty|twenty-one|twenty-two|twenty-three| │ -│ twenty-four|twenty-five|twenty-six|twenty-seven|twenty-eight|twenty-nine|thirty) │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +Usage: cli [OPTIONS] + + 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 Enable debug mode. │ +│ --number This click choice has loads of options. │ +│ (one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve| │ +│ thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen|tw │ +│ enty|twenty-one|twenty-two|twenty-three|twenty-four|twenty-five| │ +│ twenty-six|twenty-seven|twenty-eight|twenty-nine|thirty) │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test metavars].config.json b/tests/expectations/test_rich_click[test metavars].config.json index a0cf69ed..eeb380d0 100644 --- a/tests/expectations/test_rich_click[test metavars].config.json +++ b/tests/expectations/test_rich_click[test metavars].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test metavars].out b/tests/expectations/test_rich_click[test metavars].out index b35a7c56..1af6a7e9 100644 --- a/tests/expectations/test_rich_click[test metavars].out +++ b/tests/expectations/test_rich_click[test metavars].out @@ -1,15 +1,17 @@ - - Usage: cli [OPTIONS] - - 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 Enable debug mode. │ -│ --number This click choice has loads of options. │ -│ (one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fi │ -│ fteen|sixteen|seventeen|eighteen|nineteen|twenty|twenty-one|twenty-two|twenty-three| │ -│ twenty-four|twenty-five|twenty-six|twenty-seven|twenty-eight|twenty-nine|thirty) │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + Usage: cli [OPTIONS] + + 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 Enable debug mode. │ +│ --number This click choice has loads of options. │ +│ (one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve| │ +│ thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen|tw │ +│ enty|twenty-one|twenty-two|twenty-three|twenty-four|twenty-five| │ +│ twenty-six|twenty-seven|twenty-eight|twenty-nine|thirty) │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test rich markup with rich_config].config.json b/tests/expectations/test_rich_click[test rich markup with rich_config].config.json index bd6255da..4b0ec89a 100644 --- a/tests/expectations/test_rich_click[test rich markup with rich_config].config.json +++ b/tests/expectations/test_rich_click[test rich markup with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test rich markup with rich_config].out b/tests/expectations/test_rich_click[test rich markup with rich_config].out index 2227e373..e85ac16c 100644 --- a/tests/expectations/test_rich_click[test rich markup with rich_config].out +++ b/tests/expectations/test_rich_click[test rich markup with rich_config].out @@ -1,14 +1,14 @@ - - Usage: cli [OPTIONS] - - My amazing tool does all the things . - This is a minimal example based on documentation from the ]8;id=0;foo\'click' package]8;;\. - You can try using --help at the top level and also for specific group subcommands. - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --input PATH Input file. [default: a custom default] │ -│ --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] + + My amazing tool does all the things . + This is a minimal example based on documentation from the ]8;id=0;foo\'click' package]8;;\. + You can try using --help at the top level and also for specific group + subcommands. + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --input PATH Input file. [default: a custom default] │ +│ --type TEXT Type of file to sync [default: files] │ +│ --all Sync all the things? │ +│ --debug Enable 👉 debug mode 👈 │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test rich markup].config.json b/tests/expectations/test_rich_click[test rich markup].config.json index bd6255da..4b0ec89a 100644 --- a/tests/expectations/test_rich_click[test rich markup].config.json +++ b/tests/expectations/test_rich_click[test rich markup].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test rich markup].out b/tests/expectations/test_rich_click[test rich markup].out index 2227e373..9f8f71ff 100644 --- a/tests/expectations/test_rich_click[test rich markup].out +++ b/tests/expectations/test_rich_click[test rich markup].out @@ -1,14 +1,15 @@ - - Usage: cli [OPTIONS] - - My amazing tool does all the things . - This is a minimal example based on documentation from the ]8;id=0;foo\'click' package]8;;\. - You can try using --help at the top level and also for specific group subcommands. - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --input PATH Input file. [default: a custom default] │ -│ --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] + + My amazing tool does all the things . + This is a minimal example based on documentation from the ]8;id=0;foo\'click' package]8;;\. + You can try using --help at the top level and also for specific group + subcommands. + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --input PATH Input file. [default: a custom default] │ +│ --type TEXT Type of file to sync [default: files] │ +│ --all Sync all the things? │ +│ --debug Enable 👉 debug mode 👈 │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ diff --git a/tests/expectations/test_rich_click[test simple with rich_config].config.json b/tests/expectations/test_rich_click[test simple with rich_config].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test simple with rich_config].config.json +++ b/tests/expectations/test_rich_click[test simple with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test simple with rich_config].out b/tests/expectations/test_rich_click[test simple with rich_config].out index 200ca61f..439b4d47 100644 --- a/tests/expectations/test_rich_click[test simple with rich_config].out +++ b/tests/expectations/test_rich_click[test simple with rich_config].out @@ -1,17 +1,17 @@ - - 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 subcommands. - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --debug/--no-debug -d/-n Enable debug mode. Newlines are removed by default. │ -│ Double newlines are preserved. │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────╮ -│ download Optionally use short-help for the group help text │ -│ sync Synchronise all your files between two places. Example command that doesn't do much │ -│ except print to the terminal. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +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 subcommands. + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --debug/--no-debug -d/-n Enable debug mode. Newlines are removed by │ +│ default. │ +│ Double newlines are preserved. │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Commands ───────────────────────────────────────────────────────────────────╮ +│ download Optionally use short-help for the group help text │ +│ sync Synchronise all your files between two places. Example command │ +│ that doesn't do much except print to the terminal. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test simple].config.json b/tests/expectations/test_rich_click[test simple].config.json index 817ae65e..e4e4dd15 100644 --- a/tests/expectations/test_rich_click[test simple].config.json +++ b/tests/expectations/test_rich_click[test simple].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test simple].out b/tests/expectations/test_rich_click[test simple].out index 200ca61f..439b4d47 100644 --- a/tests/expectations/test_rich_click[test simple].out +++ b/tests/expectations/test_rich_click[test simple].out @@ -1,17 +1,17 @@ - - 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 subcommands. - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --debug/--no-debug -d/-n Enable debug mode. Newlines are removed by default. │ -│ Double newlines are preserved. │ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────╮ -│ download Optionally use short-help for the group help text │ -│ sync Synchronise all your files between two places. Example command that doesn't do much │ -│ except print to the terminal. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +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 subcommands. + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --debug/--no-debug -d/-n Enable debug mode. Newlines are removed by │ +│ default. │ +│ Double newlines are preserved. │ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Commands ───────────────────────────────────────────────────────────────────╮ +│ download Optionally use short-help for the group help text │ +│ sync Synchronise all your files between two places. Example command │ +│ that doesn't do much except print to the terminal. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test table styles with rich_config].config.json b/tests/expectations/test_rich_click[test table styles with rich_config].config.json index d292272d..3cf188a6 100644 --- a/tests/expectations/test_rich_click[test table styles with rich_config].config.json +++ b/tests/expectations/test_rich_click[test table styles with rich_config].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test table styles with rich_config].out b/tests/expectations/test_rich_click[test table styles with rich_config].out index 999399ad..e204825b 100644 --- a/tests/expectations/test_rich_click[test table styles with rich_config].out +++ b/tests/expectations/test_rich_click[test table styles with rich_config].out @@ -1,81 +1,106 @@ - - 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 ────────────────────────────────────────────────────────────────────────────────────────╮ -│ │ -│ --type TEXT Type of file to sync. Lorem ipsum dolor sit amet, │ -│ consectetur adipiscing elit. Sed sed mauris euismod, │ -│ semper leo quis, sodales augue. Donec posuere nulla quis │ -│ egestas ornare. Nam efficitur ex quis diam tempus, nec │ -│ euismod diam consectetur. Etiam vitae nisi at odio │ -│ hendrerit dictum in at dui. Aliquam nulla lacus, │ -│ pellentesque id ultricies sit amet, mollis nec tellus. │ -│ Aenean arcu justo, pellentesque viverra justo eget, tempus │ -│ tincidunt lectus. Maecenas porttitor risus vitae libero │ -│ dapibus ullamcorper. Cras faucibus euismod erat in porta. │ -│ Phasellus cursus gravida ante vel aliquet. In accumsan │ -│ enim nec ullamcorper gravida. Donec malesuada dui ac metus │ -│ tristique cursus. Sed gravida condimentum fermentum. Ut │ -│ sit amet nulla commodo, iaculis tellus vitae, accumsan │ -│ enim. Curabitur mollis semper velit a suscipit. │ -│ │ -│ --debug/--no-debug -d/-n Show the debug log messages. Suspendisse dictum hendrerit │ -│ turpis eu rutrum. Vivamus magna ex, elementum sit amet │ -│ sapien laoreet, tempor consequat eros. Morbi semper │ -│ feugiat nisi eget sodales. Pellentesque et turpis erat. │ -│ Donec ac aliquam risus. Nam leo tellus, rutrum et │ -│ scelerisque vitae, ultrices sed metus. Ut sollicitudin │ -│ convallis turpis, sit amet sollicitudin felis semper │ -│ feugiat. In sapien dui, aliquam eget dui quis, auctor │ -│ maximus nibh. Suspendisse maximus sem arcu. Pellentesque │ -│ sit amet semper est. Cras pulvinar ut tellus a semper. In │ -│ facilisis tellus odio, non porta nisl accumsan nec. │ -│ Pellentesque sollicitudin quam ac felis congue, ac congue │ -│ enim tempor. │ -│ │ -│ --version Show the version and exit. │ -│ │ -│ --help Show this message and exit. │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────╮ -│ ╔══════════╦═══════════════════════════════════════════════════════════════════════════════════╗ │ -│ ║ auth ║ Authenticate the app. Duis lacus nibh, feugiat a nibh a, commodo dictum libero. ║ │ -│ ║ ║ Ut ac nulla tincidunt, bibendum nisi vitae, sodales ex. Vestibulum efficitur, ║ │ -│ ║ ║ lectus quis venenatis porta, dolor elit varius mauris, consequat interdum lectus ║ │ -│ ║ ║ est quis mi. Vestibulum imperdiet sed dolor eget semper. Cras ut mauris ac libero ║ │ -│ ║ ║ hendrerit congue. Vivamus pretium nunc turpis, eget imperdiet sapien tempor ║ │ -│ ║ ║ auctor. Phasellus risus nisi, laoreet in posuere sit amet, sodales non diam. ║ │ -│ ║ ║ Aliquam non malesuada urna, a faucibus risus. ║ │ -│ ╠══════════╬═══════════════════════════════════════════════════════════════════════════════════╣ │ -│ ║ config ║ Set up the configuration. Sed accumsan ornare odio dictum aliquam. Pellentesque ║ │ -│ ║ ║ habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. ║ │ -│ ║ ║ Curabitur in pellentesque mauris. Nulla mollis dui finibus, dictum neque id, ║ │ -│ ║ ║ suscipit nisl. Nunc mauris ex, laoreet nec tincidunt ut, pellentesque ut tortor. ║ │ -│ ║ ║ Mauris fermentum diam at porttitor tempor. Aliquam euismod nisi massa, nec ║ │ -│ ║ ║ placerat ante euismod quis. ║ │ -│ ╠══════════╬═══════════════════════════════════════════════════════════════════════════════════╣ │ -│ ║ download ║ Pretend to download some files from somewhere. Integer bibendum libero nunc, sed ║ │ -│ ║ ║ aliquet ex tincidunt vel. Duis vitae sem vel odio luctus suscipit nec vitae enim. ║ │ -│ ║ ║ Curabitur vel lectus nec quam maximus dapibus. Phasellus eros velit, maximus non ║ │ -│ ║ ║ hendrerit nec, tempor fringilla urna. Vivamus vel nibh quis sapien consectetur ║ │ -│ ║ ║ fermentum. Curabitur at ultrices quam, vel molestie justo. Nunc lobortis orci vel ║ │ -│ ║ ║ nibh sagittis pretium. Morbi rhoncus sapien luctus, ultrices urna vel, convallis ║ │ -│ ║ ║ tortor. ║ │ -│ ╠══════════╬═══════════════════════════════════════════════════════════════════════════════════╣ │ -│ ║ sync ║ Synchronise all your files between two places. Curabitur congue eget lorem in ║ │ -│ ║ ║ lacinia. Praesent tempus nunc nec nulla dignissim, et lacinia ipsum accumsan. ║ │ -│ ║ ║ Duis sodales, sapien at fermentum condimentum, diam metus porttitor lacus, nec ║ │ -│ ║ ║ gravida mi diam eget ligula. Pellentesque elementum at justo a luctus. Mauris a ║ │ -│ ║ ║ interdum odio. Maecenas in consectetur velit. Ut tristique congue felis at ║ │ -│ ║ ║ tempus. Donec pulvinar tortor ut odio posuere imperdiet. Fusce lacinia iaculis ║ │ -│ ║ ║ diam in scelerisque. Pellentesque in lorem est. Nulla efficitur luctus lacus, ║ │ -│ ║ ║ auctor auctor dui hendrerit a. Ut nec iaculis dolor. Morbi metus lectus, aliquet ║ │ -│ ║ ║ et sapien nec, congue euismod lorem. Pellentesque tristique tempus augue at ║ │ -│ ║ ║ convallis. ║ │ -│ ╚══════════╩═══════════════════════════════════════════════════════════════════════════════════╝ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +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 ────────────────────────────────────────────────────────────────────╮ +│ │ +│ --type TEXT Type of file to sync. Lorem ipsum │ +│ dolor sit amet, consectetur adipiscing │ +│ elit. Sed sed mauris euismod, semper │ +│ leo quis, sodales augue. Donec posuere │ +│ nulla quis egestas ornare. Nam │ +│ efficitur ex quis diam tempus, nec │ +│ euismod diam consectetur. Etiam vitae │ +│ nisi at odio hendrerit dictum in at │ +│ dui. Aliquam nulla lacus, pellentesque │ +│ id ultricies sit amet, mollis nec │ +│ tellus. Aenean arcu justo, │ +│ pellentesque viverra justo eget, │ +│ tempus tincidunt lectus. Maecenas │ +│ porttitor risus vitae libero dapibus │ +│ ullamcorper. Cras faucibus euismod │ +│ erat in porta. Phasellus cursus │ +│ gravida ante vel aliquet. In accumsan │ +│ enim nec ullamcorper gravida. Donec │ +│ malesuada dui ac metus tristique │ +│ cursus. Sed gravida condimentum │ +│ fermentum. Ut sit amet nulla commodo, │ +│ iaculis tellus vitae, accumsan enim. │ +│ Curabitur mollis semper velit a │ +│ suscipit. │ +│ │ +│ --debug/--no-debug -d/-n Show the debug log messages. │ +│ Suspendisse dictum hendrerit turpis eu │ +│ rutrum. Vivamus magna ex, elementum │ +│ sit amet sapien laoreet, tempor │ +│ consequat eros. Morbi semper feugiat │ +│ nisi eget sodales. Pellentesque et │ +│ turpis erat. Donec ac aliquam risus. │ +│ Nam leo tellus, rutrum et scelerisque │ +│ vitae, ultrices sed metus. Ut │ +│ sollicitudin convallis turpis, sit │ +│ amet sollicitudin felis semper │ +│ feugiat. In sapien dui, aliquam eget │ +│ dui quis, auctor maximus nibh. │ +│ Suspendisse maximus sem arcu. │ +│ Pellentesque sit amet semper est. Cras │ +│ pulvinar ut tellus a semper. In │ +│ facilisis tellus odio, non porta nisl │ +│ accumsan nec. Pellentesque │ +│ sollicitudin quam ac felis congue, ac │ +│ congue enim tempor. │ +│ │ +│ --version Show the version and exit. │ +│ │ +│ --help Show this message and exit. │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Commands ───────────────────────────────────────────────────────────────────╮ +│ ╔══════════╦═══════════════════════════════════════════════════════════════╗ │ +│ ║ auth ║ Authenticate the app. Duis lacus nibh, feugiat a nibh a, ║ │ +│ ║ ║ commodo dictum libero. Ut ac nulla tincidunt, bibendum nisi ║ │ +│ ║ ║ vitae, sodales ex. Vestibulum efficitur, lectus quis ║ │ +│ ║ ║ venenatis porta, dolor elit varius mauris, consequat interdum ║ │ +│ ║ ║ lectus est quis mi. Vestibulum imperdiet sed dolor eget ║ │ +│ ║ ║ semper. Cras ut mauris ac libero hendrerit congue. Vivamus ║ │ +│ ║ ║ pretium nunc turpis, eget imperdiet sapien tempor auctor. ║ │ +│ ║ ║ Phasellus risus nisi, laoreet in posuere sit amet, sodales ║ │ +│ ║ ║ non diam. Aliquam non malesuada urna, a faucibus risus. ║ │ +│ ╠══════════╬═══════════════════════════════════════════════════════════════╣ │ +│ ║ config ║ Set up the configuration. Sed accumsan ornare odio dictum ║ │ +│ ║ ║ aliquam. Pellentesque habitant morbi tristique senectus et ║ │ +│ ║ ║ netus et malesuada fames ac turpis egestas. Curabitur in ║ │ +│ ║ ║ pellentesque mauris. Nulla mollis dui finibus, dictum neque ║ │ +│ ║ ║ id, suscipit nisl. Nunc mauris ex, laoreet nec tincidunt ut, ║ │ +│ ║ ║ pellentesque ut tortor. Mauris fermentum diam at porttitor ║ │ +│ ║ ║ tempor. Aliquam euismod nisi massa, nec placerat ante euismod ║ │ +│ ║ ║ quis. ║ │ +│ ╠══════════╬═══════════════════════════════════════════════════════════════╣ │ +│ ║ download ║ Pretend to download some files from somewhere. Integer ║ │ +│ ║ ║ bibendum libero nunc, sed aliquet ex tincidunt vel. Duis ║ │ +│ ║ ║ vitae sem vel odio luctus suscipit nec vitae enim. Curabitur ║ │ +│ ║ ║ vel lectus nec quam maximus dapibus. Phasellus eros velit, ║ │ +│ ║ ║ maximus non hendrerit nec, tempor fringilla urna. Vivamus vel ║ │ +│ ║ ║ nibh quis sapien consectetur fermentum. Curabitur at ultrices ║ │ +│ ║ ║ quam, vel molestie justo. Nunc lobortis orci vel nibh ║ │ +│ ║ ║ sagittis pretium. Morbi rhoncus sapien luctus, ultrices urna ║ │ +│ ║ ║ vel, convallis tortor. ║ │ +│ ╠══════════╬═══════════════════════════════════════════════════════════════╣ │ +│ ║ sync ║ Synchronise all your files between two places. Curabitur ║ │ +│ ║ ║ congue eget lorem in lacinia. Praesent tempus nunc nec nulla ║ │ +│ ║ ║ dignissim, et lacinia ipsum accumsan. Duis sodales, sapien at ║ │ +│ ║ ║ fermentum condimentum, diam metus porttitor lacus, nec ║ │ +│ ║ ║ gravida mi diam eget ligula. Pellentesque elementum at justo ║ │ +│ ║ ║ a luctus. Mauris a interdum odio. Maecenas in consectetur ║ │ +│ ║ ║ velit. Ut tristique congue felis at tempus. Donec pulvinar ║ │ +│ ║ ║ tortor ut odio posuere imperdiet. Fusce lacinia iaculis diam ║ │ +│ ║ ║ in scelerisque. Pellentesque in lorem est. Nulla efficitur ║ │ +│ ║ ║ luctus lacus, auctor auctor dui hendrerit a. Ut nec iaculis ║ │ +│ ║ ║ dolor. Morbi metus lectus, aliquet et sapien nec, congue ║ │ +│ ║ ║ euismod lorem. Pellentesque tristique tempus augue at ║ │ +│ ║ ║ convallis. ║ │ +│ ╚══════════╩═══════════════════════════════════════════════════════════════╝ │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_click[test table styles].config.json b/tests/expectations/test_rich_click[test table styles].config.json index d292272d..3cf188a6 100644 --- a/tests/expectations/test_rich_click[test table styles].config.json +++ b/tests/expectations/test_rich_click[test table styles].config.json @@ -40,7 +40,7 @@ "align_errors_panel": "left", "style_errors_suggestion": "dim", "style_aborted": "red", - "max_width": 100, + "max_width": 80, "color_system": "truecolor", "force_terminal": true, "header_text": null, diff --git a/tests/expectations/test_rich_click[test table styles].out b/tests/expectations/test_rich_click[test table styles].out index 999399ad..e204825b 100644 --- a/tests/expectations/test_rich_click[test table styles].out +++ b/tests/expectations/test_rich_click[test table styles].out @@ -1,81 +1,106 @@ - - 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 ────────────────────────────────────────────────────────────────────────────────────────╮ -│ │ -│ --type TEXT Type of file to sync. Lorem ipsum dolor sit amet, │ -│ consectetur adipiscing elit. Sed sed mauris euismod, │ -│ semper leo quis, sodales augue. Donec posuere nulla quis │ -│ egestas ornare. Nam efficitur ex quis diam tempus, nec │ -│ euismod diam consectetur. Etiam vitae nisi at odio │ -│ hendrerit dictum in at dui. Aliquam nulla lacus, │ -│ pellentesque id ultricies sit amet, mollis nec tellus. │ -│ Aenean arcu justo, pellentesque viverra justo eget, tempus │ -│ tincidunt lectus. Maecenas porttitor risus vitae libero │ -│ dapibus ullamcorper. Cras faucibus euismod erat in porta. │ -│ Phasellus cursus gravida ante vel aliquet. In accumsan │ -│ enim nec ullamcorper gravida. Donec malesuada dui ac metus │ -│ tristique cursus. Sed gravida condimentum fermentum. Ut │ -│ sit amet nulla commodo, iaculis tellus vitae, accumsan │ -│ enim. Curabitur mollis semper velit a suscipit. │ -│ │ -│ --debug/--no-debug -d/-n Show the debug log messages. Suspendisse dictum hendrerit │ -│ turpis eu rutrum. Vivamus magna ex, elementum sit amet │ -│ sapien laoreet, tempor consequat eros. Morbi semper │ -│ feugiat nisi eget sodales. Pellentesque et turpis erat. │ -│ Donec ac aliquam risus. Nam leo tellus, rutrum et │ -│ scelerisque vitae, ultrices sed metus. Ut sollicitudin │ -│ convallis turpis, sit amet sollicitudin felis semper │ -│ feugiat. In sapien dui, aliquam eget dui quis, auctor │ -│ maximus nibh. Suspendisse maximus sem arcu. Pellentesque │ -│ sit amet semper est. Cras pulvinar ut tellus a semper. In │ -│ facilisis tellus odio, non porta nisl accumsan nec. │ -│ Pellentesque sollicitudin quam ac felis congue, ac congue │ -│ enim tempor. │ -│ │ -│ --version Show the version and exit. │ -│ │ -│ --help Show this message and exit. │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────╮ -│ ╔══════════╦═══════════════════════════════════════════════════════════════════════════════════╗ │ -│ ║ auth ║ Authenticate the app. Duis lacus nibh, feugiat a nibh a, commodo dictum libero. ║ │ -│ ║ ║ Ut ac nulla tincidunt, bibendum nisi vitae, sodales ex. Vestibulum efficitur, ║ │ -│ ║ ║ lectus quis venenatis porta, dolor elit varius mauris, consequat interdum lectus ║ │ -│ ║ ║ est quis mi. Vestibulum imperdiet sed dolor eget semper. Cras ut mauris ac libero ║ │ -│ ║ ║ hendrerit congue. Vivamus pretium nunc turpis, eget imperdiet sapien tempor ║ │ -│ ║ ║ auctor. Phasellus risus nisi, laoreet in posuere sit amet, sodales non diam. ║ │ -│ ║ ║ Aliquam non malesuada urna, a faucibus risus. ║ │ -│ ╠══════════╬═══════════════════════════════════════════════════════════════════════════════════╣ │ -│ ║ config ║ Set up the configuration. Sed accumsan ornare odio dictum aliquam. Pellentesque ║ │ -│ ║ ║ habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. ║ │ -│ ║ ║ Curabitur in pellentesque mauris. Nulla mollis dui finibus, dictum neque id, ║ │ -│ ║ ║ suscipit nisl. Nunc mauris ex, laoreet nec tincidunt ut, pellentesque ut tortor. ║ │ -│ ║ ║ Mauris fermentum diam at porttitor tempor. Aliquam euismod nisi massa, nec ║ │ -│ ║ ║ placerat ante euismod quis. ║ │ -│ ╠══════════╬═══════════════════════════════════════════════════════════════════════════════════╣ │ -│ ║ download ║ Pretend to download some files from somewhere. Integer bibendum libero nunc, sed ║ │ -│ ║ ║ aliquet ex tincidunt vel. Duis vitae sem vel odio luctus suscipit nec vitae enim. ║ │ -│ ║ ║ Curabitur vel lectus nec quam maximus dapibus. Phasellus eros velit, maximus non ║ │ -│ ║ ║ hendrerit nec, tempor fringilla urna. Vivamus vel nibh quis sapien consectetur ║ │ -│ ║ ║ fermentum. Curabitur at ultrices quam, vel molestie justo. Nunc lobortis orci vel ║ │ -│ ║ ║ nibh sagittis pretium. Morbi rhoncus sapien luctus, ultrices urna vel, convallis ║ │ -│ ║ ║ tortor. ║ │ -│ ╠══════════╬═══════════════════════════════════════════════════════════════════════════════════╣ │ -│ ║ sync ║ Synchronise all your files between two places. Curabitur congue eget lorem in ║ │ -│ ║ ║ lacinia. Praesent tempus nunc nec nulla dignissim, et lacinia ipsum accumsan. ║ │ -│ ║ ║ Duis sodales, sapien at fermentum condimentum, diam metus porttitor lacus, nec ║ │ -│ ║ ║ gravida mi diam eget ligula. Pellentesque elementum at justo a luctus. Mauris a ║ │ -│ ║ ║ interdum odio. Maecenas in consectetur velit. Ut tristique congue felis at ║ │ -│ ║ ║ tempus. Donec pulvinar tortor ut odio posuere imperdiet. Fusce lacinia iaculis ║ │ -│ ║ ║ diam in scelerisque. Pellentesque in lorem est. Nulla efficitur luctus lacus, ║ │ -│ ║ ║ auctor auctor dui hendrerit a. Ut nec iaculis dolor. Morbi metus lectus, aliquet ║ │ -│ ║ ║ et sapien nec, congue euismod lorem. Pellentesque tristique tempus augue at ║ │ -│ ║ ║ convallis. ║ │ -│ ╚══════════╩═══════════════════════════════════════════════════════════════════════════════════╝ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +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 ────────────────────────────────────────────────────────────────────╮ +│ │ +│ --type TEXT Type of file to sync. Lorem ipsum │ +│ dolor sit amet, consectetur adipiscing │ +│ elit. Sed sed mauris euismod, semper │ +│ leo quis, sodales augue. Donec posuere │ +│ nulla quis egestas ornare. Nam │ +│ efficitur ex quis diam tempus, nec │ +│ euismod diam consectetur. Etiam vitae │ +│ nisi at odio hendrerit dictum in at │ +│ dui. Aliquam nulla lacus, pellentesque │ +│ id ultricies sit amet, mollis nec │ +│ tellus. Aenean arcu justo, │ +│ pellentesque viverra justo eget, │ +│ tempus tincidunt lectus. Maecenas │ +│ porttitor risus vitae libero dapibus │ +│ ullamcorper. Cras faucibus euismod │ +│ erat in porta. Phasellus cursus │ +│ gravida ante vel aliquet. In accumsan │ +│ enim nec ullamcorper gravida. Donec │ +│ malesuada dui ac metus tristique │ +│ cursus. Sed gravida condimentum │ +│ fermentum. Ut sit amet nulla commodo, │ +│ iaculis tellus vitae, accumsan enim. │ +│ Curabitur mollis semper velit a │ +│ suscipit. │ +│ │ +│ --debug/--no-debug -d/-n Show the debug log messages. │ +│ Suspendisse dictum hendrerit turpis eu │ +│ rutrum. Vivamus magna ex, elementum │ +│ sit amet sapien laoreet, tempor │ +│ consequat eros. Morbi semper feugiat │ +│ nisi eget sodales. Pellentesque et │ +│ turpis erat. Donec ac aliquam risus. │ +│ Nam leo tellus, rutrum et scelerisque │ +│ vitae, ultrices sed metus. Ut │ +│ sollicitudin convallis turpis, sit │ +│ amet sollicitudin felis semper │ +│ feugiat. In sapien dui, aliquam eget │ +│ dui quis, auctor maximus nibh. │ +│ Suspendisse maximus sem arcu. │ +│ Pellentesque sit amet semper est. Cras │ +│ pulvinar ut tellus a semper. In │ +│ facilisis tellus odio, non porta nisl │ +│ accumsan nec. Pellentesque │ +│ sollicitudin quam ac felis congue, ac │ +│ congue enim tempor. │ +│ │ +│ --version Show the version and exit. │ +│ │ +│ --help Show this message and exit. │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────╯ +╭─ Commands ───────────────────────────────────────────────────────────────────╮ +│ ╔══════════╦═══════════════════════════════════════════════════════════════╗ │ +│ ║ auth ║ Authenticate the app. Duis lacus nibh, feugiat a nibh a, ║ │ +│ ║ ║ commodo dictum libero. Ut ac nulla tincidunt, bibendum nisi ║ │ +│ ║ ║ vitae, sodales ex. Vestibulum efficitur, lectus quis ║ │ +│ ║ ║ venenatis porta, dolor elit varius mauris, consequat interdum ║ │ +│ ║ ║ lectus est quis mi. Vestibulum imperdiet sed dolor eget ║ │ +│ ║ ║ semper. Cras ut mauris ac libero hendrerit congue. Vivamus ║ │ +│ ║ ║ pretium nunc turpis, eget imperdiet sapien tempor auctor. ║ │ +│ ║ ║ Phasellus risus nisi, laoreet in posuere sit amet, sodales ║ │ +│ ║ ║ non diam. Aliquam non malesuada urna, a faucibus risus. ║ │ +│ ╠══════════╬═══════════════════════════════════════════════════════════════╣ │ +│ ║ config ║ Set up the configuration. Sed accumsan ornare odio dictum ║ │ +│ ║ ║ aliquam. Pellentesque habitant morbi tristique senectus et ║ │ +│ ║ ║ netus et malesuada fames ac turpis egestas. Curabitur in ║ │ +│ ║ ║ pellentesque mauris. Nulla mollis dui finibus, dictum neque ║ │ +│ ║ ║ id, suscipit nisl. Nunc mauris ex, laoreet nec tincidunt ut, ║ │ +│ ║ ║ pellentesque ut tortor. Mauris fermentum diam at porttitor ║ │ +│ ║ ║ tempor. Aliquam euismod nisi massa, nec placerat ante euismod ║ │ +│ ║ ║ quis. ║ │ +│ ╠══════════╬═══════════════════════════════════════════════════════════════╣ │ +│ ║ download ║ Pretend to download some files from somewhere. Integer ║ │ +│ ║ ║ bibendum libero nunc, sed aliquet ex tincidunt vel. Duis ║ │ +│ ║ ║ vitae sem vel odio luctus suscipit nec vitae enim. Curabitur ║ │ +│ ║ ║ vel lectus nec quam maximus dapibus. Phasellus eros velit, ║ │ +│ ║ ║ maximus non hendrerit nec, tempor fringilla urna. Vivamus vel ║ │ +│ ║ ║ nibh quis sapien consectetur fermentum. Curabitur at ultrices ║ │ +│ ║ ║ quam, vel molestie justo. Nunc lobortis orci vel nibh ║ │ +│ ║ ║ sagittis pretium. Morbi rhoncus sapien luctus, ultrices urna ║ │ +│ ║ ║ vel, convallis tortor. ║ │ +│ ╠══════════╬═══════════════════════════════════════════════════════════════╣ │ +│ ║ sync ║ Synchronise all your files between two places. Curabitur ║ │ +│ ║ ║ congue eget lorem in lacinia. Praesent tempus nunc nec nulla ║ │ +│ ║ ║ dignissim, et lacinia ipsum accumsan. Duis sodales, sapien at ║ │ +│ ║ ║ fermentum condimentum, diam metus porttitor lacus, nec ║ │ +│ ║ ║ gravida mi diam eget ligula. Pellentesque elementum at justo ║ │ +│ ║ ║ a luctus. Mauris a interdum odio. Maecenas in consectetur ║ │ +│ ║ ║ velit. Ut tristique congue felis at tempus. Donec pulvinar ║ │ +│ ║ ║ tortor ut odio posuere imperdiet. Fusce lacinia iaculis diam ║ │ +│ ║ ║ in scelerisque. Pellentesque in lorem est. Nulla efficitur ║ │ +│ ║ ║ luctus lacus, auctor auctor dui hendrerit a. Ut nec iaculis ║ │ +│ ║ ║ dolor. Morbi metus lectus, aliquet et sapien nec, congue ║ │ +│ ║ ║ euismod lorem. Pellentesque tristique tempus augue at ║ │ +│ ║ ║ convallis. ║ │ +│ ╚══════════╩═══════════════════════════════════════════════════════════════╝ │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/expectations/test_rich_config_decorator_order.out b/tests/expectations/test_rich_config_decorator_order.out index 5d271576..8ea86ee4 100644 --- a/tests/expectations/test_rich_config_decorator_order.out +++ b/tests/expectations/test_rich_config_decorator_order.out @@ -1,8 +1,8 @@ -Usage: cli [OPTIONS] - - Some help - # Header - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file +Usage: cli [OPTIONS] + + Some helps + # Header + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/tests/test_help.py b/tests/test_help.py index 65903303..c4e605ed 100644 --- a/tests/test_help.py +++ b/tests/test_help.py @@ -195,14 +195,14 @@ def cli(): assert_str( result.stdout, """ -Usage: cli [OPTIONS] - - Some help - # Header - -╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ -│ --help Show this message and exit. │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ +Usage: cli [OPTIONS] + + Some help + # Header + +╭─ Options ────────────────────────────────────────────────────────────────────╮ +│ --help Show this message and exit. │ +╰──────────────────────────────────────────────────────────────────────────────╯ """, )