def single_target(options): if not options or not (options['JWT'] and options['JWT'] != "None"): utils.print_bad("Can't login to get JWT") sys.exit(-1) # don't create new workspace in report mode if options.get('mode') != 'report': options = initial.init_workspace(options) # run specific task otherwise run the normal routine routine.routine_handle(options)
def single_target(options): # don't create new workspace in report mode if options.get('mode') != 'report': options = initial.init_workspace(options) # run specific task otherwise run the normal routine routine.routine_handle(options)