Skip to main content

Module functions

Module functions 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Modules§

bash_colors
ANSI terminal color constants for bash scripts.

Functions§

emit_bash_for_arith
Emit a C-style for loop.
emit_bash_http_get
Emits bash code to make an HTTP GET request.
emit_bash_http_post_json
Emits bash code to make an HTTP POST request with JSON.
emit_bash_join
Generate bash code to join an array with a delimiter.
emit_bash_lock
Emits bash code to acquire an exclusive lock file.
emit_bash_progress_bar
Emits a bash progress bar function.
emit_bash_read_env
Emits bash code to read a .env file safely (without sourcing).
emit_bash_require_cmd
Generate bash code to check if a command exists.
emit_bash_retry_fn
Emits a bash retry wrapper function.
emit_bash_select_menu
Emit a select menu.
emit_bash_source_env
Emits bash code to source a .env or .conf file.
emit_bash_split
Generate bash code to split a string by a delimiter.
emit_bash_trim
Generate bash code to trim whitespace from a variable.
emit_bash_unlock
Emits bash code to release a lock file.
emit_bash_until
Emit a bash until loop.
emit_bash_url_encode
Generate bash code to URL-encode a string.