You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a `usage` variable and help flag handling to all public functions in `ollama_bash_lib.sh`, allowing users to get usage information by calling any function with `-h` or `--help`.
The implementation follows the pattern of the existing `ollama_app_turbo` function as requested.
- For functions with arguments, the help flag is detected anywhere in the argument list.
- For functions without arguments, only the help flag is accepted as a valid argument, with errors for any other arguments.
Also adds a new verification script, `demos/test-help.sh`, to test the new functionality across all public functions.
0 commit comments