Add entry_point during setup
Change-Id: Ic929dbd053ff99a91ef71870c1b01fa0ee2bb17e
This commit is contained in:
parent
a35b727169
commit
abb45d2e41
@ -745,3 +745,9 @@ def parse_cli_args(args=None):
|
||||
parser_sign.set_defaults(func='self_sign')
|
||||
|
||||
return parser.parse_args(args=args)
|
||||
|
||||
|
||||
def entry_point():
|
||||
args = parse_cli_args()
|
||||
test = RefstackClient(args)
|
||||
raise SystemExit(getattr(test, args.func)())
|
||||
|
Loading…
Reference in New Issue
Block a user