tapis_cli.commands.taccapis.v2.apps package

Apps service commands

Submodules

tapis_cli.commands.taccapis.v2.apps.clone module

class tapis_cli.commands.taccapis.v2.apps.clone.AppsClone(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2
HELP_STRING = 'Clone an App'
LEGACY_COMMMAND_STRING = 'apps-clone'
VERBOSITY = 1
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.apps.create module

class tapis_cli.commands.taccapis.v2.apps.create.AppsCreate(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne, tapis_cli.clients.services.mixins.WorkingDirectoryArg, tapis_cli.clients.services.mixins.UploadJSONTemplate

EXTRA_VERBOSITY = 2.5
HELP_STRING = 'Create a new App'
LEGACY_COMMMAND_STRING = 'apps-addupdate'
VERBOSITY = 2
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.apps.disable module

class tapis_cli.commands.taccapis.v2.apps.disable.AppsDisable(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2
HELP_STRING = 'Disable usage of an App'
LEGACY_COMMMAND_STRING = 'apps-disable'
VERBOSITY = 1
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.apps.enable module

class tapis_cli.commands.taccapis.v2.apps.enable.AppsEnable(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2
HELP_STRING = 'Restore usage for an App if disabled'
LEGACY_COMMMAND_STRING = 'apps-enable'
VERBOSITY = 1
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.apps.formatters module

Formatters customized for App records and listings

class tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsBase, tapis_cli.commands.taccapis.formatters.TaccApisFormatOne

class tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsBase, tapis_cli.commands.taccapis.formatters.TaccApisFormatMany

class tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatManyUnlimited(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsBase, tapis_cli.commands.taccapis.formatters.TaccApisFormatManyUnlimited

tapis_cli.commands.taccapis.v2.apps.history module

class tapis_cli.commands.taccapis.v2.apps.history.AppsHistory(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2
HELP_STRING = 'Show history for an App'
LEGACY_COMMMAND_STRING = 'apps-history'
VERBOSITY = 1
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.apps.list module

class tapis_cli.commands.taccapis.v2.apps.list.AppsList(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany

EXTRA_VERBOSITY = 1
HELP_STRING = 'List the Apps catalog'
LEGACY_COMMMAND_STRING = 'apps-list'
VERBOSITY = 0
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.apps.mixins module

class tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

Bases: tapis_cli.clients.services.mixins.ServiceIdentifier

dest = 'app_id'
service_id_type = 'App'
validate_identifier(identifier, permissive=False)

tapis_cli.commands.taccapis.v2.apps.pems_drop module

class tapis_cli.commands.taccapis.v2.apps.pems_drop.AppsPemsDrop(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2
HELP_STRING = 'Drop all granted Permissions from an App'
LEGACY_COMMMAND_STRING = 'apps-pems-delete'
VERBOSITY = 0
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.apps.pems_grant module

class tapis_cli.commands.taccapis.v2.apps.pems_grant.AppsPemsGrant(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier, tapis_cli.clients.services.mixins.Username

EXTRA_VERBOSITY = 2
HELP_STRING = 'Grant Permissions on an App to a User'
LEGACY_COMMMAND_STRING = 'apps-pems-update'
VERBOSITY = 0
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.apps.pems_list module

class tapis_cli.commands.taccapis.v2.apps.pems_list.AppsPemsList(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2
HELP_STRING = 'List Permissions for an specific App'
LEGACY_COMMMAND_STRING = 'apps-pems-list'
VERBOSITY = 0
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.apps.pems_revoke module

class tapis_cli.commands.taccapis.v2.apps.pems_revoke.AppsPemsRevoke(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier, tapis_cli.clients.services.mixins.Username

EXTRA_VERBOSITY = 2
HELP_STRING = 'Revoke Permissions on an App for a User'
LEGACY_COMMMAND_STRING = 'apps-pems-update'
VERBOSITY = 0
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.apps.pems_show module

class tapis_cli.commands.taccapis.v2.apps.pems_show.AppsPemsShow(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier, tapis_cli.clients.services.mixins.Username

EXTRA_VERBOSITY = 2
HELP_STRING = 'Show Permissions on an App for specific User'
LEGACY_COMMMAND_STRING = 'apps-pems-list'
VERBOSITY = 0
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.apps.publish module

class tapis_cli.commands.taccapis.v2.apps.publish.AppsPublish(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2
HELP_STRING = 'Publish an App for use by others'
LEGACY_COMMMAND_STRING = 'apps-publish'
VERBOSITY = 1
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.apps.search module

class tapis_cli.commands.taccapis.v2.apps.search.AppsSearch(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatMany

EXTRA_VERBOSITY = 1
HELP_STRING = 'Search the Apps catalog'
LEGACY_COMMMAND_STRING = 'apps-list'
VERBOSITY = 1
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.apps.show module

class tapis_cli.commands.taccapis.v2.apps.show.AppsShow(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.formatters.AppsFormatOne, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

EXTRA_VERBOSITY = 2.5
HELP_STRING = 'Show details for an App'
LEGACY_COMMMAND_STRING = 'apps-list'
VERBOSITY = 2
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.apps.unpublish module

class tapis_cli.commands.taccapis.v2.apps.unpublish.AppsUnpublish(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.disable.AppsDisable

Disable usage of a public App (it is not possible to actually unpublish)

tapis_cli.commands.taccapis.v2.apps.update module

class tapis_cli.commands.taccapis.v2.apps.update.AppsUpdate(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.apps.create.AppsCreate, tapis_cli.commands.taccapis.v2.apps.mixins.AppIdentifier

HELP_STRING = 'Update an existing App'
LEGACY_COMMMAND_STRING = 'apps-addupdate'
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.