Files
foxhunt/bin/fxt/config.toml.example
jgrusewski 9c3d741a08 refactor: restructure repo — crates/, bin/, testing/ layout
Move 17 library crates into crates/, CLI binary into bin/fxt,
consolidate 10 test crates into testing/, split config crate
from deployment config files.

Root directory reduced from 38+ to ~17 directories.
All Cargo.toml paths and build.rs proto refs updated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:56:00 +01:00

41 lines
1.2 KiB
Plaintext

# TLI 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, TLI_LOG_LEVEL, TLI_TOKEN_STORAGE)
# 3. Config file (~/.foxhunt/config.toml)
# 4. Hardcoded defaults
#
# To use this configuration file:
# mkdir -p ~/.foxhunt
# cp tli/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"