llm-config-cli

Crates.iollm-config-cli
lib.rsllm-config-cli
version0.5.0
created_at2025-11-21 22:32:47.679959+00
updated_at2025-11-21 22:32:47.679959+00
descriptionCommand-line interface for LLM Config Manager with interactive prompts, colored output, and comprehensive configuration management
homepagehttps://github.com/globalbusinessadvisors/llm-config-manager
repositoryhttps://github.com/globalbusinessadvisors/llm-config-manager
max_upload_size
id1944395
size62,038
GBA (globalbusinessadvisors)

documentation

https://docs.rs/llm-config-manager

README

llm-config-cli

Crates.io Documentation License

Command-line interface for LLM Config Manager with interactive prompts, colored output, and comprehensive configuration management.

Features

  • Interactive Mode: User-friendly prompts for configuration
  • Colored Output: Syntax highlighting and status colors
  • Batch Operations: Import/export configurations in bulk
  • Environment Management: Switch between environments easily
  • Secret Management: Secure handling of sensitive values
  • Version Control: View history and rollback changes
  • Format Support: JSON, YAML, TOML input/output

Installation

cargo install llm-config-cli

Usage

Set Configuration

# Set a simple value
llm-config set app.database.url postgres://localhost/mydb --env production

# Set a secret (encrypted)
llm-config set-secret app.api.key my-secret-key --env production

Get Configuration

# Get a value
llm-config get app.database.url --env production

# Get with JSON output
llm-config get app.database.url --env production --format json

List Configurations

# List all configurations
llm-config list --env production

# List with pattern
llm-config list app.* --env production

Version Control

# View history
llm-config history app.database.url

# Rollback to previous version
llm-config rollback app.database.url --version 5

Import/Export

# Export configurations
llm-config export --env production > config.json

# Import configurations
llm-config import config.json --env staging

Configuration

The CLI stores its configuration in ~/.config/llm-config/config.toml:

[default]
environment = "development"
format = "json"
storage_path = "~/.local/share/llm-config"

License

Licensed under the Apache License, Version 2.0.

Commit count: 0

cargo fmt