def cli_fetch(args): argdict = args.__dict__ destination = argdict['destination'] nm = NuleculeManager(app_spec=argdict['app_spec'], destination=destination, cli_answers=argdict['cli_answers'], answers_file=argdict['answers']) nm.fetch(**argdict) # Clean up the files if the user asked us to. Otherwise # notify the user where they can manage the application if destination and destination.lower() == 'none': Utils.rm_dir(nm.app_path) else: print_app_location(nm.app_path) sys.exit(0)