mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 14:07:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import argh
|
||||
|
||||
|
||||
@argh.arg("foo", help="help for foo")
|
||||
@argh.arg("--bar", help="help for bar")
|
||||
def main(foo, bar=False):
|
||||
print("{}, {}".format(foo, bar))
|
||||
|
||||
|
||||
argh.dispatch_command(main)
|
||||
Reference in New Issue
Block a user