Script Helpers¶
Small functions to help simplify and streamline script creation.
-
tendril.scripts.helpers.
add_project_selector_options
(parser)[source]¶ Add arguments for project selection to the provided parser.
The following arguments are added :
projfolders
recurse
all
Parameters: parser ( argparse.ArgumentParser
) – The parser to add the arguments to.
-
tendril.scripts.helpers.
add_vendor_selection_options
(parser)[source]¶ Add arguments for vendor selection to the provided parser.
The following arguments are added :
vendor_name
all
Parameters: parser ( argparse.ArgumentParser
) – The parser to add the arguments to.