Example #1
0
def args_parse():
    """
    Parse command line args.

    :return: namespace of key/value cmdline args.
    :rtype: `namespace`
    """
    parser = utils.create_args(description='Musketeer task list')
    cmdline = parser.parse_args()

    return cmdline
Example #2
0
def args_parse():
    """
    Parse command line args.

    :return: namespace of key/value cmdline args.
    :rtype: `namespace`
    """
    parser = utils.create_args(description='Musketeer task join')
    parser.add_argument('--task_name', required=True)
    cmdline = parser.parse_args()

    return cmdline
Example #3
0
def args_parse():
    """
    Parse command line args.

    :return: namespace of key/value cmdline args.
    :rtype: `namespace`
    """
    parser = utils.create_args(description='Musketeer user registration')
    parser.add_argument('--org', required=True, help='Your organisation')
    cmdline = parser.parse_args()

    return cmdline