Config Command
Manage qmims configuration settings
Syntax
qmims config <action> [key] [value] [options]
Actions
| Action | Description |
|---|---|
| list | List all configuration settings |
| get | Get a specific configuration value |
| set | Set a configuration value |
| delete | Delete a configuration value |
| setup | Interactive configuration setup |
Options
| Option | Alias | Description |
|---|---|---|
| --verbose | -V | Show detailed output for debugging |
Examples
List all configuration settings:
qmims config list
Get a specific setting:
qmims config get defaults.mode
Set a configuration value:
qmims config set defaults.templateName detailed
Delete a configuration value:
qmims config delete q.autoApproveEdits
Run interactive setup:
qmims config setup
Configuration File
Configuration settings are stored in:
- Linux/macOS:
~/.config/qmims/config.jsonor~/.qmimsrc - Windows:
%APPDATA%\qmims\config.jsonor%USERPROFILE%\.qmimsrc
The configuration file uses a JSON structure with the following sections:
{
"user": {
"name": "Your Name",
"email": "your.email@example.com"
},
"defaults": {
"mode": "auto",
"templateName": "detailed",
"outputFilename": "README.md"
},
"q": {
"autoApproveEdits": false
},
"git": {
"autoCommit": false,
"commitMessageFormat": "docs: update README.md using qmims"
}
}Tip
The
config setup command provides an interactive way to configure qmims. It's recommended for first-time users or when you want to reset your configuration.For more information on configuration options, see the Configuration System section.