Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Dec 4, 2020
1 parent 0209820 commit bdc1499
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v1.0.11 (2020-12-04)

### Fix

- when *varargs used, it caused incorrect function dispatch

## v1.0.10 (2020-11-28)

## v1.0.9 (2020-11-28)
Expand Down
18 changes: 18 additions & 0 deletions click_tst.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import click


@click.command()
@click.argument(
'heap',
)
@click.option('--count', default=1, help='Number of greetings.')
@click.option('--name', prompt='Your name', help='The person to greet.')
def hello(heap, count, name):
"""Simple program that greets NAME for a total of COUNT times."""
for x in range(count):
click.echo('Hello %s!' % name)


if __name__ == '__main__':
print(type(hello))
hello(args=['--help'])
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "arger"
version = "1.0.10"
version = "1.0.11"
description = "Create argparser automatically from functions"

license = "MIT"
Expand Down

0 comments on commit bdc1499

Please sign in to comment.