Random stuff, testing things, and so on.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
453 B

import argparse
def main():
parser = argparse.ArgumentParser(description='Main')
subparsers = parser.add_subparsers()
git = subparsers.add_parser(name='git', help='Git commands')
git_subs = git.add_subparsers()
init = git_subs.add_parser(name='init', help='Init')
init.add_argument('collection')
sync = git_subs.add_parser(name='sync', help='Sync')
args = parser.parse_args()
if __name__ == '__main__':
main()