CLI module¶
- class rebasehelper.cli.CliHelper[source]¶
- classmethod convert_macros_to_dict(macros_list: List[str]) Dict[str, str] [source]¶
Converts macros from CLI to a dictionary.
- Parameters:
macros_list – List of macros in the format ‘MACRO EXPRESSION’.
- Returns:
The converted macros, MACRO are keys, EXPRESSION are values.
- Raises:
RebaseHelperError if the macros don't follow the correct format. –