def run(options): mission_git_getter(options.url, options.mission) recompile_mission(options.mission) if not options.without_container: rebuild_mission(options.mission) init_home_file(options.mission, settings.INTERPRETER) rebuild_native(options.mission) tools.set_value('mission', options.mission)
def run(options): try: make_mission_from_template(options.mission, options.template) except TemplateWasntFound as e: print(e) return except MissionFolderExistsAlready as e: print(e) answer = raw_input('Would you like to remove this folder? y/n').strip().lower() if answer == 'n': return if answer in ['', 'y']: make_mission_from_template(options.mission, options.template, force_remove=True) if options.origin: mission_git_init(options.mission, options.origin) recompile_mission(options.mission) if not options.without_container: rebuild_mission(options.mission) init_home_file(options.mission, settings.INTERPRETER) rebuild_native(options.mission) tools.set_value('mission', options.mission)
def run(options): if options.mission: tools.set_value('mission', options.mission) recompile_mission(options.mission) rebuild_native(options.mission)