def execute(): parser = get_argparse() # Put arguments in shape sourceList, optDict = cmdLineUtils.getSourceListOptDict(parser) # Process rootRm return cmdLineUtils.rootRm(sourceList, interactive=optDict["interactive"], \ recursive=optDict["recursive"])
def execute(): # Collect arguments with the module argparse parser = cmdLineUtils.getParserFile(COMMAND_HELP, EPILOG) parser.add_argument("-i", "--interactive", help=cmdLineUtils.INTERACTIVE_HELP, action="store_true") parser.add_argument("-r", "--recursive", help=cmdLineUtils.RECURSIVE_HELP, action="store_true") # Put arguments in shape sourceList, optDict = cmdLineUtils.getSourceListOptDict(parser) # Process rootRm return cmdLineUtils.rootRm(sourceList, interactive=optDict["interactive"], recursive=optDict["recursive"])
def execute(): # Collect arguments with the module argparse parser = cmdLineUtils.getParserFile(COMMAND_HELP, EPILOG) parser.add_argument("-i", "--interactive", help=cmdLineUtils.INTERACTIVE_HELP, action="store_true") parser.add_argument("-r", "--recursive", help=cmdLineUtils.RECURSIVE_HELP, action="store_true") # Put arguments in shape sourceList, optDict = cmdLineUtils.getSourceListOptDict(parser) # Process rootRm return cmdLineUtils.rootRm(sourceList, interactive=optDict["interactive"], \ recursive=optDict["recursive"])