2.1.21.5. cli.helpers.misc
Miscellaneous helper functions.
Module Attributes
Modules where logging should be disabled |
Functions
Adds a pre-commit file in the .git/hooks directory |
|
Current ISO timestamp in a file system friendly format. |
|
|
Returns the string representation of a SHA256 hash for multiple files |
|
helper function to find the repository root |
|
Calculate the SHA256 hash of a file |
|
Returns the string representation of a SHA256 hash of a file |
Disable logging for third party tool, except for errors |
|
Add paths that foxBMS expects to exist to the PATH environment variable. |
|
|
sets the module logging level |
Sets environment variables accordingly to foxBMS specifications |
|
|
Prints a clickable link to the terminal :param link: hyperlink that should be clickable |