generated from Luis/nextjs-python-web-template
add integration test for webui
This commit is contained in:
10
pkgs/clan-cli/clan_cli/webui/__main__.py
Normal file
10
pkgs/clan-cli/clan_cli/webui/__main__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import argparse
|
||||
|
||||
from . import register_parser
|
||||
|
||||
if __name__ == "__main__":
|
||||
# this is use in our integration test
|
||||
parser = argparse.ArgumentParser()
|
||||
register_parser(parser)
|
||||
args = parser.parse_args()
|
||||
args.func(args)
|
||||
Reference in New Issue
Block a user