- context.sh: .wgctl/{config,data,daemon} directory structure
- ctx::config_file: points to .wgctl/config/wgctl.json
- ctx::data: points to .wgctl/data/ (rules, identities, groups, etc.)
- ctx::peer_history: .wgctl/data/peer-history/
- config.module.sh: loads from wgctl.json via json::config_load
- config::_load_legacy: fallback for old wgctl.conf with migration warning
- json_helper.py: config_load() outputs KEY=value pairs from wgctl.json
- cmd::config::migrate: converts wgctl.conf → wgctl.json, moves data files
- cmd::config::_show: renamed from run body
- daemon/wgctl-monitor.py: updated PEER_HISTORY_DIR path
|
||
|---|---|---|
| .. | ||
| __pycache__ | ||
| lib | ||
| mixins | ||
| test | ||
| color.sh | ||
| command.sh | ||
| command_mixins.sh | ||
| context.sh | ||
| flag.sh | ||
| fmt.sh | ||
| fmt_helper.py | ||
| json.sh | ||
| json_helper.py | ||
| log.sh | ||
| module.sh | ||
| ui.sh | ||
| utils.sh | ||