This commit is contained in:
@@ -12,6 +12,7 @@ import argparse
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from executor.cli.execute import handle_execute
|
from executor.cli.execute import handle_execute
|
||||||
|
from executor.cli.git import handle_git
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@@ -46,6 +47,9 @@ def main():
|
|||||||
# )
|
# )
|
||||||
group_execute.set_defaults(func=handle_execute)
|
group_execute.set_defaults(func=handle_execute)
|
||||||
|
|
||||||
|
group_git = subparsers.add_parser('git')
|
||||||
|
group_git.set_defaults(func=handle_git)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
args.func(args)
|
args.func(args)
|
||||||
|
|||||||
Reference in New Issue
Block a user