chore(docs): improve CLI docs (#27)

* chore(docs): cleanup code & docs

* chore(docs): better document present command

* chore(docs): improve gh page
This commit is contained in:
Jérome Eertmans
2022-09-22 18:16:28 +02:00
committed by GitHub
parent cbee6320f5
commit ee92e0aa88
6 changed files with 25 additions and 7 deletions

View File

@ -38,6 +38,7 @@ def prompt(question: str) -> int:
@click.command()
@config_options
@click.help_option("-h", "--help")
def wizard(config_path, force, merge):
"""Launch configuration wizard."""
return _init(config_path, force, merge, skip_interactive=False)
@ -45,6 +46,7 @@ def wizard(config_path, force, merge):
@click.command()
@config_options
@click.help_option("-h", "--help")
def init(config_path, force, merge, skip_interactive=False):
"""Initialize a new default configuration file."""
return _init(config_path, force, merge, skip_interactive=True)