wgctl/core
Nuno Duque Nunes b813810ff3 feat: hosts.json IP resolution system
- wgctl hosts command (list, show, add, rm) with tags support
- modules/resolve.module.sh — chain: hosts.json → services.json → raw IP
- modules/hosts.module.sh — hosts::resolve_ip, hosts::lookup_ip
- resolve::ip and resolve::dest used in watch, logs, activity
- _WGCTL_RAW=true via --raw flag bypasses all resolution
- json_helper.py: hosts_list, hosts_show, hosts_add, hosts_remove, hosts_lookup
2026-05-23 22:01:45 +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 add wgctl 2026-05-06 23:02:12 +00:00
context.sh feat: hosts.json IP resolution system 2026-05-23 22:01:45 +00:00
flag.sh add wgctl 2026-05-06 23:02:12 +00:00
fmt.sh feat: tableless logs/watch layout with service annotations 2026-05-23 03:24:20 +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 feat: hosts.json IP resolution system 2026-05-23 22:01:45 +00:00
json_helper.py feat: hosts.json IP resolution system 2026-05-23 22:01:45 +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 feat: rule list tableless layout with inline extends and +all/-N indicators 2026-05-22 23:12:27 +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