feat: command alias, hrun = httprunner run

This commit is contained in:
debugtalk
2020-04-23 21:52:14 +08:00
parent c537a50cc0
commit 12a7f4bbd1
2 changed files with 9 additions and 2 deletions

View File

@@ -151,5 +151,13 @@ def main():
main_locusts(args, extra_args)
def main_hrun_alias():
""" command alias
hrun = httprunner run
"""
sys.argv.insert(1, "run")
main()
if __name__ == '__main__':
main()