producti_gestio.utils package¶
producti_gestio.utils.arguments_parser module¶
producti_gestio.utils.arguments_parser¶
It just parses the given arguments via command line.
-
producti_gestio.utils.arguments_parser.
normalize_string
(string: str) → str¶ It converts a string divided in lines into a printable format
Parameters: string (str) – The string you’d like to convert Returns: The normalized string Return type: str
-
producti_gestio.utils.arguments_parser.
parser
(args: list = ['/home/docs/checkouts/readthedocs.org/user_builds/producti-gestio/envs/latest/bin/sphinx-build', '-T', '-E', '-b', 'readthedocs', '-d', '_build/doctrees-readthedocs', '-D', 'language=en', '.', '_build/html']) → object¶ It tries to parse sys.argv and processes given parameters.
Parameters: args – list: (Default value = sys.argv) Returns: A parse_args object of all the parameters. Return type: object