Commit graph

2 commits

Author SHA1 Message Date
Nuno Duque Nunes
de22dbeec7 feat: list migration to command framework
- commands/list/list.sh: router + command::define show [*]
- commands/list/show.sh: flag::define + flag::parse, all helpers
- flag::exclusive: register under top-level command name (strip ::subcmd)
- flag::parse: validate exclusive groups, error on conflicting user flags
- --help: intercept in command::run before routing
- help::auto: don't show default subcommand in usage line
2026-05-30 04:14:21 +00:00
Nuno Duque Nunes
290ac24d88 refactor: core directory restructure
- core/framework/: flag.sh, hook.sh, help.sh, command.sh, mixin.sh
- core/app/: wgctl-specific context.sh, json.sh
- core/framework/mixins/: json_output, no_color mixins
- core/core.sh: sources framework/core.sh + app/core.sh
- PYTHONPATH exported in app/core.sh for lib/ module resolution
- command::_load_mixins: uses _FRAMEWORK_DIR for mixin path
2026-05-30 02:50:43 +00:00
Renamed from core/command_mixins.sh (Browse further)