···98989999### `dump-config`
100100101101-Display current configuration.
101101+Display and optionally save current configuration.
102102103103```bash
104104mccabre dump-config [OPTIONS]
···107107**Options:**
108108109109- `-c, --config <FILE>` - Path to config file (shows default if not specified)
110110+- `-o, --output <PATH>` - Save configuration to file or directory
110111111112**Examples:**
112113···116117117118# Show loaded configuration
118119mccabre dump-config --config mccabre.toml
120120+121121+# Save default config to file
122122+mccabre dump-config -o my-config.toml
123123+124124+# Save config to directory (creates mccabre.toml)
125125+mccabre dump-config -o ./configs/
126126+127127+# Load and save to new location
128128+mccabre dump-config -c old-config.toml -o new-config.toml
119129```
120130121131## Global Options
+24
docs/src/configuration.md
···2727respect_gitignore = true
2828```
29293030+### Generating a Config File
3131+3232+You can generate a config file using the `dump-config` command:
3333+3434+```bash
3535+# Save default config to current directory
3636+mccabre dump-config -o mccabre.toml
3737+3838+# Save to a specific location
3939+mccabre dump-config -o /path/to/config.toml
4040+4141+# Save to a directory (creates mccabre.toml in that directory)
4242+mccabre dump-config -o ./configs/
4343+4444+# Load existing config and save to new location
4545+mccabre dump-config -c old-config.toml -o new-config.toml
4646+```
4747+4848+This is useful for:
4949+5050+- Creating a starting point for customization
5151+- Copying configurations between projects
5252+- Version controlling your settings
5353+3054## Configuration Options
31553256### Complexity Settings
+16
docs/src/examples.md
···248248mccabre analyze src/ --json | jq '.summary'
249249```
250250251251+### Generate and Save Configuration
252252+253253+Create a config file for your project:
254254+255255+```bash
256256+# Save default config to current directory
257257+mccabre dump-config -o mccabre.toml
258258+259259+# Generate config for a specific project structure
260260+cd my-project/
261261+mccabre dump-config -o .
262262+263263+# Copy config from one project to another
264264+mccabre dump-config -c ../project-a/mccabre.toml -o ./mccabre.toml
265265+```
266266+251267## Tips and Tricks
252268253269### Incremental Analysis