# FXT Configuration File Example # Copy this file to ~/.foxhunt/config.toml to use it # # Configuration precedence (highest to lowest): # 1. CLI arguments (--api-gateway-url, --log-level, --token-storage) # 2. Environment variables (API_GATEWAY_URL, FXT_LOG_LEVEL, FXT_TOKEN_STORAGE) # 3. Config file (~/.foxhunt/config.toml) # 4. Hardcoded defaults # # To use this configuration file: # mkdir -p ~/.foxhunt # cp fxt/config.toml.example ~/.foxhunt/config.toml # # Edit ~/.foxhunt/config.toml with your settings # API Gateway URL # The URL where the Foxhunt API Gateway is running # Default: http://localhost:50051 api_gateway_url = "http://localhost:50051" # Log level # Controls verbosity of logging output # Options: trace, debug, info, warn, error # Default: info log_level = "info" # Token storage backend # Where to store authentication tokens # Options: keyring (OS keyring, recommended), file (plain text file - NOT SECURE) # Default: keyring token_storage = "keyring" # Example custom configurations: # For production API Gateway: # api_gateway_url = "https://api.foxhunt.example.com:50051" # # For debugging: # log_level = "debug" # # For development (less secure): # token_storage = "file"