sup config
⚙️ Configuration Management
Configuration Sources (priority order)
Section titled “Configuration Sources (priority order)”- Environment variables: SUP_* (highest priority)
- Global config: ~/.sup/config.yml
- Project config: .sup/state.yml (current directory)
Key Settings
Section titled “Key Settings”- Authentication: API tokens, workspace credentials
- Defaults: Current workspace ID, database ID, target workspace
- Preferences: Output formats, asset folder paths
- Enterprise: Cross-workspace sync configuration
Quick Setup
Section titled “Quick Setup”- Step 1:
sup config auth - Set up authentication credentials - Step 2:
sup config show - Verify current settings - Step 3:
sup config env - See all available environment variables
Common Tasks
Section titled “Common Tasks”- Set workspace:
sup config set workspace-id 123 - Set target:
sup config set target-workspace-id 456 - Asset folder:
sup config set assets-folder ./my-assets
sup config [COMMAND] [OPTIONS]Subcommands
Section titled “Subcommands”| Command | Description |
|---|---|
sup config show | Display current configuration settings |
sup config set | Set a configuration value |
sup config auth | Set up authentication credentials |
sup config init | Initialize sup configuration in current directory |
sup config env | Show available environment variables for sup configuration |
Examples
Section titled “Examples”sup config