Skip to main content

Crate sandogasa_cli

Crate sandogasa_cli 

Source
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 against http:// 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 CryptoProvider as 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 name is on $PATH (a lightweight check that does not run the tool).