piel.cli.utils
#
Module Contents#
Functions#
Appends a line to .bashrc if it does not exist. |
|
|
Runs a subprocess and prints the command. |
|
Runs a subprocess and prints the command. Raises an exception if the subprocess fails. |
Gets the piel installation directory. |
|
Gets the piel home directory. |
Attributes#
- default_openlane2_directory#
- append_to_bashrc_if_does_not_exist(line: str)[source]#
Appends a line to .bashrc if it does not exist.
- Parameters:
line –
Returns:
- echo_and_run_subprocess(command: list, **kwargs)[source]#
Runs a subprocess and prints the command.
- Parameters:
command –
**kwargs –
Returns:
- echo_and_check_subprocess(command: list, **kwargs)[source]#
Runs a subprocess and prints the command. Raises an exception if the subprocess fails.
- Parameters:
command –
**kwargs –
Returns: