qisys.parsers – Generic command line parsing tools¶
Functions defined in this module¶
-
qisys.parsers.
default_parser
(parser)¶ Parser settings for every action.
-
qisys.parsers.
log_parser
(parser)¶ Given a parser, add the options controlling log.
Always called by the default_parser
-
qisys.parsers.
worktree_parser
(parser)¶ Parser settings for every action using a work tree.
-
qisys.parsers.
project_parser
(parser, positional=True)¶ Parser settings for every action using projects.
-
qisys.parsers.
get_worktree
(args=None, raises=True)¶ Get a worktree right after argument parsing.
If –worktree was not given, try to guess it from the current working directory
-
qisys.parsers.
get_projects
(worktree, args)¶ Get a list of worktree projects from the command line