Skip to main content

Module config

Module config 

Source
Expand description

Configuration loading for the Ironflow CLI.

Supports three configuration sources with the following priority (highest wins):

  1. CLI arguments (--url, --api-key)
  2. Environment variables (IRONFLOW_URL, IRONFLOW_API_KEY)
  3. TOML file at ~/.ironflow.toml

Structs§

Config
Resolved configuration ready to build an ironflow_sdk::IronflowClient.

Functions§

default_config_path
Default config file path: ~/.ironflow.toml.
load
Load configuration by merging CLI args, env vars, and the TOML file.