wgctl/core
Nuno Duque Nunes 2a6648735e refactor: config restructure, wgctl.json, data/ directory layout
- 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
2026-05-27 01:37:28 +00:00
..
__pycache__ refactor: split json_helper.py into lib/ modules 2026-05-24 22:02:50 +00:00
lib feat: logs endpoint annotation, alignment, descending sort 2026-05-26 03:07:57 +00:00
mixins feat: command mixin system, --json output for list/inspect 2026-05-26 23:18:56 +00:00
test feat: date format config, batch optimizations, list refactor, fw:: rename, .wgctl data dir 2026-05-11 22:27:33 +00:00
color.sh init feature 2026-05-19 15:26:31 +00:00
command.sh feat: command mixin system, --json for list/inspect, tests 2026-05-27 00:01:06 +00:00
command_mixins.sh feat: command mixin system, --json for list/inspect, tests 2026-05-27 00:01:06 +00:00
context.sh refactor: config restructure, wgctl.json, data/ directory layout 2026-05-27 01:37:28 +00:00
flag.sh add wgctl 2026-05-06 23:02:12 +00:00
fmt.sh fix: policy_read accidental defaults merge from module split 2026-05-25 18:45:23 +00:00
fmt_helper.py feat: date format config, batch optimizations, list refactor, fw:: rename, .wgctl data dir 2026-05-11 22:27:33 +00:00
json.sh refactor: config restructure, wgctl.json, data/ directory layout 2026-05-27 01:37:28 +00:00
json_helper.py refactor: config restructure, wgctl.json, data/ directory layout 2026-05-27 01:37:28 +00:00
log.sh finish base implementation 2026-05-20 21:49:44 +00:00
module.sh init feature 2026-05-19 15:26:31 +00:00
ui.sh cleanup: ui::pad_mb removal, watch alignment fixes, endpoint cache fallback 2026-05-25 15:09:13 +00:00
utils.sh feat: date format config, batch optimizations, list refactor, fw:: rename, .wgctl data dir 2026-05-11 22:27:33 +00:00