Bash | Command | Description | Example |
---|---|---|---|
call_silent |
Run a process silently. | call_silent proc.exe... |
|
path_posix |
Convert path from Windows to POSIX. | P=`path_posix "C:/Users/"` |
|
path_windows |
Convert path from POSIX to Windows. | P=`path_windows "C:/Users/"` |
|
path_auto |
Convert path by auto detection of system (msys/win32 otherwise POSIX.) | P=`path_auto "C:/Users/"` |
|
prnt |
Beautifully prints tag, level and a message (depends on $KM_DEBUG for the DEBUG level.) | prnt tag error "Woops!" |
|
spin |
Starts/stops a spinner on your terminal. | spin on "Loading..." |
Each command could have a few dependencies, please check the corresponding source code(s).
An environment variable $KM_USEFUL_DIR must be defined (at least a value of '.') in order to make this work.
See the .env.example
file.