Esempio n. 1
0
def snapshot_id_argument(hlp):
    return {
        'help': hlp,
        'dest': 'snapshot_id',
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('snapshots')
    }
Esempio n. 2
0
def plugin_id_argument(hlp):
    return {
        'help': hlp,
        'dest': 'plugin_id',
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('plugins')
    }
Esempio n. 3
0
def blueprint_id_argument():
    return {
        'help': "The blueprint's id",
        'dest': 'blueprint_id',
        'required': True,
        'completer':
            completion_utils.objects_args_completer_maker('blueprints')
    }
Esempio n. 4
0
def deployment_id_argument(hlp):
    return {
        'dest': 'deployment_id',
        'metavar': 'DEPLOYMENT_ID',
        'type': str,
        'required': False,
        'help': hlp,
        'completer': completion_utils.objects_args_completer_maker('deployments')
    }
Esempio n. 5
0
def execution_id_argument(hlp):
    return {
        'dest': 'execution_id',
        'metavar': 'EXECUTION_ID',
        'type': str,
        'required': True,
        'help': hlp,
        'completer': completion_utils.objects_args_completer_maker('executions')
    }
Esempio n. 6
0
def execution_id_argument(hlp):
    return {
        'dest': 'execution_id',
        'metavar': 'EXECUTION_ID',
        'type': str,
        'required': True,
        'help': hlp,
        'completer': completion_utils.objects_args_completer_maker('executions')
    }
Esempio n. 7
0
def deployment_id_argument(hlp):
    return {
        'dest': 'deployment_id',
        'metavar': 'DEPLOYMENT_ID',
        'type': str,
        'required': True,
        'help': hlp,
        'completer': completion_utils.objects_args_completer_maker('deployments')
    }
Esempio n. 8
0
def plugin_id_argument(hlp):
    return {
        'metavar': 'PLUGIN_ID',
        'type': str,
        'help': hlp,
        'dest': 'plugin_id',
        'default': None,
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('plugins')
    }
Esempio n. 9
0
def snapshot_id_argument(hlp):
    return {
        'metavar': 'SNAPSHOT_ID',
        'type': str,
        'help': hlp,
        'dest': 'snapshot_id',
        'default': None,
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('snapshots')
    }
Esempio n. 10
0
def blueprint_id_argument():
    return {
        'metavar': 'BLUEPRINT_ID',
        'type': str,
        'help': 'The id of the blueprint',
        'dest': 'blueprint_id',
        'default': None,
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('blueprints')
    }
Esempio n. 11
0
def blueprint_id_argument():
    return {
        'metavar': 'BLUEPRINT_ID',
        'type': str,
        'help': 'The id of the blueprint',
        'dest': 'blueprint_id',
        'default': None,
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('blueprints')
    }
Esempio n. 12
0
def plugin_id_argument(hlp):
    return {
        'metavar': 'PLUGIN_ID',
        'type': str,
        'help': hlp,
        'dest': 'plugin_id',
        'default': None,
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('plugins')
    }
Esempio n. 13
0
def snapshot_id_argument(hlp):
    return {
        'metavar': 'SNAPSHOT_ID',
        'type': str,
        'help': hlp,
        'dest': 'snapshot_id',
        'default': None,
        'required': True,
        'completer': completion_utils.objects_args_completer_maker('snapshots')
    }
Esempio n. 14
0
def deployment_id_argument(hlp):
    return {
        'dest': 'deployment_id',
        'help': hlp,
        'completer': completion_utils.objects_args_completer_maker('deployments')
    }