mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
12
support/testing/tests/package/sample_python_click.py
Normal file
12
support/testing/tests/package/sample_python_click.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import click
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.argument("foo")
|
||||
@click.option("--bar", is_flag=True, help="help for bar")
|
||||
def main(foo, bar):
|
||||
click.echo("{}, {}".format(foo, bar))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user