Esempio n. 1
0
 def run_delete(args):
     experimental_query()
     if not query_yes_no('Do you really want to delete your cluster?'):
         return 0
     adjust_paths_from_build(args)
     with DeleteEngine(args) as engine:
         return engine.delete()
Esempio n. 2
0
def run_recovery(args):
    if not query_yes_no(
            'This is an experimental feature and could change at any time. Do you want to continue?'
    ):
        return 0
    Config().output_dir = args.build_directory
    with PatchEngine() as engine:
        return engine.run_recovery()
Esempio n. 3
0
def experimental_query():
    if not query_yes_no(
            'This is an experimental feature and could change at any time. Do you want to continue?'
    ):
        sys.exit(0)
Esempio n. 4
0
 def run_recovery(args):
     if not query_yes_no('Do you really want to perform recovery?'):
         return 0
     adjust_paths_from_file(args)
     with RecoveryEngine(args) as engine:
         return engine.recovery()