Theme (#664)
* Initial theme manager, not yet done * Added rich_theme_manager * Updated rich-theme-manager * Switched to rich_theme_manager for theme management * Updated dependencies * Added rich paging to subtopic help * Fixed clone to clone only styles specified in cloned theme * Added placeholder for help colors * Updated config dir, help methods
This commit is contained in:
@@ -73,11 +73,11 @@ def generate_help_text(command):
|
||||
|
||||
# get current help text
|
||||
with runner.isolated_filesystem():
|
||||
result = runner.invoke(cli_main, ["help", command])
|
||||
result = runner.invoke(cli_main, ["help", command, "--width", 78])
|
||||
help_txt = result.output
|
||||
|
||||
# running the help command above doesn't output the full "Usage" line
|
||||
help_txt = help_txt.replace(f"Usage: cli-main", f"Usage: osxphotos")
|
||||
help_txt = help_txt.replace("Usage: cli-main", "Usage: osxphotos")
|
||||
return help_txt
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user