config init
The config init command creates a new configuration file with default values at the standard XDG config location ($XDG_CONFIG_HOME/bookmark/config.toml).
Example
Section titled “Example”# Generate default configbookmark config init
# Overwrite existing configbookmark config init --force
# Generate and open in editorbookmark config init --editorbookmark config init| Flag | Type | Description |
|---|---|---|
| -e, –editor | bool | open config in editor after creation |
| -f, –force | bool | overwrite existing config |
Source
Section titled “Source”See config_init.go for implementation details.