add short options name
This commit is contained in:
parent
bfc88eb682
commit
d828c86715
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ venv/
|
||||
.tox/
|
||||
minecraft_libs/__pycache__/
|
||||
version.json
|
||||
libs.txt
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""Parse version.json file and return libs"""
|
||||
|
||||
__version__ = "1.0.4"
|
||||
__version__ = "1.0.5"
|
||||
|
@ -6,8 +6,8 @@ import click
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.option("--platform", default=sys.platform, help="Output platform (win32, linux, darwin).")
|
||||
@click.option("--output", default="tty", help="Output option (tty, txt).")
|
||||
@click.option("-p", "--platform", default=sys.platform, help="Output platform (win32, linux, darwin).")
|
||||
@click.option("-o", "--output", default="tty", help="Output option (tty, txt).")
|
||||
def make_output(platform, output):
|
||||
"""Return libraries list"""
|
||||
|
||||
|
Reference in New Issue
Block a user