예제 #1
0
파일: init.py 프로젝트: damons/kubos-sdk
def execCommand(args, following_args):
    proj_name = args.proj_name[0]
    container.pass_through(args.subcommand_name, proj_name, *following_args)
예제 #2
0
파일: build.py 프로젝트: marshall/kubos-sdk
def execCommand(args, following_args):
    if not target.get_current_target():
        print >> sys.stderr, 'Error: No target currently selected. Select a target before building your project'
        sys.exit(1)
    container.pass_through(args.subcommand_name, *following_args)
예제 #3
0
파일: target.py 프로젝트: damons/kubos-sdk
def execCommand(args, following_args):
    container.pass_through(args.subcommand_name, args.target, *following_args)
예제 #4
0
파일: list.py 프로젝트: marshall/kubos-sdk
def execCommand(args, following_args):
    container.pass_through(args.subcommand_name, *following_args)
예제 #5
0
파일: list.py 프로젝트: marshall/kubos-sdk
def execCommand(args, following_args):
    # Running this command without a target set will prompt the user for their mbed login
    if not target.get_current_target():
        print >> sys.stderr, 'Please set a target device before running this command'
        sys.exit(1)
    container.pass_through(args.subcommand_name, *following_args)
예제 #6
0
def execCommand(args, following_args):
    proj_name = args.proj_name[0]
    container.pass_through(args.subcommand_name, proj_name, *following_args)
예제 #7
0
파일: test.py 프로젝트: marshall/kubos-sdk
def execCommand(args, following_args):
    logging.warning(
        'This command is not yet fully implemented by the kubos-sdk. It might not work correctly yet.\n'
    )
    container.pass_through(args.subcommand_name, *following_args)
예제 #8
0
파일: search.py 프로젝트: damons/kubos-sdk
def execCommand(args, following_args):
    logging.warning('This command is not yet fully implemented by the kubos-sdk. It might not work correctly yet.\n')
    container.pass_through(args.subcommand_name, *following_args)
예제 #9
0
def execCommand(args, following_args):
    if not target.get_current_target():
        print >>sys.stderr, 'Error: No target currently selected. Select a target before building your project'
        sys.exit(1)
    container.pass_through(args.subcommand_name, *following_args)