Skip to content

Commit

Permalink
feat: added version and help commands short options
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Jun 28, 2024
1 parent bebc497 commit 729564a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/writer/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
import writer.serve
from writer.deploy import cloud


CONTEXT_SETTINGS = {'help_option_names': ['-h', '--help']}
@click.group(
context_settings=CONTEXT_SETTINGS,
help="Writer Framework CLI",
)
@click.version_option()
@click.version_option(None, '--version', '-v')
def main():
pass

Expand Down

0 comments on commit 729564a

Please sign in to comment.