tapis_cli.commands.taccapis.v2.postits package¶
PostIts service commands
Submodules¶
tapis_cli.commands.taccapis.v2.postits.create module¶
-
class
tapis_cli.commands.taccapis.v2.postits.create.
PostItsCreate
(app, app_args, cmd_name=None)¶ Bases:
tapis_cli.commands.taccapis.v2.postits.formatters.PostItsFormatOne
,tapis_cli.clients.services.mixins.FilesURI
-
EXTRA_VERBOSITY
= 2.5¶
-
HELP_STRING
= 'Create a new Postit'¶
-
LEGACY_COMMMAND_STRING
= 'postits-create'¶
-
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.postits.delete module¶
-
class
tapis_cli.commands.taccapis.v2.postits.delete.
PostItsDelete
(app, app_args, cmd_name=None)¶ Bases:
tapis_cli.commands.taccapis.v2.postits.formatters.PostItsFormatOne
,tapis_cli.commands.taccapis.v2.postits.mixins.PostItsIdentifier
-
EXTRA_VERBOSITY
= 2.5¶
-
HELP_STRING
= 'Delete a Postit'¶
-
LEGACY_COMMMAND_STRING
= 'postits-delete'¶
-
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.postits.formatters module¶
Formatters customized for postit records and listings
-
class
tapis_cli.commands.taccapis.v2.postits.formatters.
PostItsFormatOne
(app, app_args, cmd_name=None)¶ Bases:
tapis_cli.commands.taccapis.v2.postits.formatters.PostItsBase
,tapis_cli.commands.taccapis.formatters.TaccApisFormatOne
-
class
tapis_cli.commands.taccapis.v2.postits.formatters.
PostItsFormatMany
(app, app_args, cmd_name=None)¶ Bases:
tapis_cli.commands.taccapis.v2.postits.formatters.PostItsBase
,tapis_cli.commands.taccapis.formatters.TaccApisFormatManyUnlimited
tapis_cli.commands.taccapis.v2.postits.list module¶
-
class
tapis_cli.commands.taccapis.v2.postits.list.
PostItsList
(app, app_args, cmd_name=None)¶ Bases:
tapis_cli.commands.taccapis.v2.postits.formatters.PostItsFormatMany
-
EXTRA_VERBOSITY
= 2¶
-
HELP_STRING
= 'List active Post-Its'¶
-
LEGACY_COMMMAND_STRING
= 'postits-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.postits.mixins module¶
-
class
tapis_cli.commands.taccapis.v2.postits.mixins.
PostItsIdentifier
¶ Bases:
tapis_cli.clients.services.mixins.ServiceIdentifier
Configures a Command to require a mandatory Post-it
-
dest
= 'postit_id'¶
-
service_id_type
= 'PostIt'¶
-
validate_identifier
(identifier, permissive=False)¶
-