Expand description
Shared CLI utilities for sandogasa tools.
Modules§
- date
- Shared calendar date range parsing for CLI tools.
Constants§
- ALLOW_
INSECURE_ URL_ ENV - Environment variable that, when set to a non-empty value,
disables
ensure_secure_url’s plaintext-credential guard. Intended for local testing againsthttp://mock servers or a trusted internal proxy — never for production credentials.
Functions§
- ensure_
secure_ url - Refuse to hand credentials to a base URL that would transmit them in cleartext.
- init
- Standard process-wide initialization for sandogasa tools.
- install_
crypto_ provider - Install the ring-based rustls
CryptoProvideras the process default. - require_
tools - Check that a batch of external tools is available, returning a single error that lists every missing one with its install hint.
- tool_
exists - Whether an executable named
nameis on$PATH(a lightweight check that does not run the tool).