wgctl/commands
Nuno Duque Nunes 8ed491313d feat: command framework + logs migration
- core/framework/flag.sh: flag::define, flag::parse, accessors
- core/framework/hook.sh: hook::on, hook::fire, hook::off, hook::has
- core/framework/help.sh: help::section, command::help::auto
- core/framework/command.sh: command::define, command::route, lazy loading
- core restructure: framework/ + app/ separation
- load_command: directory-based command detection
- command::exists: accepts new-style commands
- command::run: routing for new-style, legacy fallback
- commands/logs/: migrated to new framework
  - logs.sh: router + command::define
  - show.sh: flag::define + flag::parse, no manual case blocks
  - clean.sh: flag::define + flag::parse
  - remove.sh: flag::define + flag::parse
  - rotate.sh: flag::define + flag::parse
- logs clean: fix dry_run bool to int conversion
- ctx::json_helper: fixed path after core restructure
- PYTHONPATH: exported in app/core.sh
2026-05-30 03:44:08 +00:00
..
logs feat: command framework + logs migration 2026-05-30 03:44:08 +00:00
mixins feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
test feat: block history tracking 2026-05-28 01:51:37 +00:00
activity.command.sh feat: --exclude-service/--include-service, --ports flags 2026-05-29 23:34:13 +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 feat: block history tracking 2026-05-28 01:51:37 +00:00
config.command.sh refactor: config restructure, wgctl.json, data/ directory layout 2026-05-27 01:37:28 +00:00
export.command.sh feat: block history tracking 2026-05-28 01:51:37 +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: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
hosts.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
identity.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
import.command.sh add export,import features/add tests 2026-05-27 16:46:09 +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 defaults, aliases, exclusive flag groups 2026-05-29 04:31:07 +00:00
logs.command.sh feat: command defaults, aliases, exclusive flag groups 2026-05-29 04:31:07 +00:00
net.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +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: display config, table layouts for all commands 2026-05-27 03:32:31 +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: display config, table layouts for all commands 2026-05-27 03:32:31 +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: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
test.command.sh init feature 2026-05-19 15:26:31 +00:00
unblock.command.sh feat: block history tracking 2026-05-28 01:51:37 +00:00
watch.command.sh feat: watch/logs endpoint annotation, shared row primitives 2026-05-26 15:16:33 +00:00