wgctl/commands
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
..
mixins feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
test add remaining tests related to json api 2026-05-27 01:04:30 +00:00
activity.command.sh feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
add.command.sh feat: identity, subnet, policy systems + tableless layouts 2026-05-22 03:42:40 +00:00
audit.command.sh feat: complete wgctl v2 — net services, block system M:N, rule inheritance, service annotations, restricted status, 64 tests passing 2026-05-15 12:36:38 +00:00
block.command.sh finish base implementation 2026-05-20 21:49:44 +00:00
config.command.sh refactor: config restructure, wgctl.json, data/ directory layout 2026-05-27 01:37:28 +00:00
fw.command.sh feat: block system JSON migration, M:N group tracking, block module, block::restore_all, color module, fw refactor 2026-05-15 04:44:53 +00:00
group.command.sh feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
hosts.command.sh feat: --json for hosts/subnet/policy list commands 2026-05-27 00:52:45 +00:00
identity.command.sh feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
inspect.command.sh feat: command mixin system, --json for list/inspect, tests 2026-05-27 00:01:06 +00:00
list.command.sh feat: command mixin system, --json for list/inspect, tests 2026-05-27 00:01:06 +00:00
logs.command.sh fix: --ascending/--descending flag parsing in logs show 2026-05-26 12:40:35 +00:00
net.command.sh feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
peer.command.sh feat: duplicate rule validation, peer command, fallback DNS 2026-05-25 21:39:17 +00:00
policy.command.sh feat: --json for hosts/subnet/policy list commands 2026-05-27 00:52:45 +00:00
qr.command.sh finish base implementation 2026-05-20 21:49:44 +00:00
remove.command.sh init feature 2026-05-19 15:26:31 +00:00
rename.command.sh finish base implementation 2026-05-20 21:49:44 +00:00
rule.command.sh feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
service.command.sh feat: block system JSON migration, M:N group tracking, block module, block::restore_all, color module, fw refactor 2026-05-15 04:44:53 +00:00
shell.command.sh feat: watch/logs endpoint annotation, shared row primitives 2026-05-26 15:16:33 +00:00
subnet.command.sh feat: --json for hosts/subnet/policy list commands 2026-05-27 00:52:45 +00:00
test.command.sh init feature 2026-05-19 15:26:31 +00:00
unblock.command.sh finish base implementation 2026-05-20 21:49:44 +00:00
watch.command.sh feat: watch/logs endpoint annotation, shared row primitives 2026-05-26 15:16:33 +00:00