tapis_cli.mocks package¶
Mockup formatters
-
class
tapis_cli.mocks.
FormatOne
(app, app_args, cmd_name=None)¶ Bases:
cliff.show.ShowOne
Generic Record Display
-
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.
-
-
class
tapis_cli.mocks.
FormatMany
(app, app_args, cmd_name=None)¶ Bases:
cliff.lister.Lister
Generic Records Listing
-
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.
-