Skip to main content

Helpers

Function NameDescription
add_var_to_fileAppends a variable to a specified file
restore_fileRestores a file to its original state
format_errorFormats an error message
mktouchCreates an empty file and all parent directories
fixture_export_codebaseExport codebase source code at the latest commit to the destination directory
fixture_prepare_dirPrepares a directory for fixture data
random_stringGenerates a random string
trim_fileTrims leading and trailing whitespace from a file
tui_runRun Terminal User Interface (TUI) command with inputs