mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 09:33:51 +00:00
The CLI surface is now 103 commands. Tab completion is no longer a nice-to-have: source <(wowee_editor --gen-completion bash) # one-time setup wowee_editor --info-<TAB> # all info-* offered Two complementary commands: --list-commands: parses printUsage's own output to extract every '--flag' it documents, dedupes, sorts. Auto-tracks new commands as they're added (no parallel list to maintain). --gen-completion bash|zsh: emits a completion script that re-execs --list-commands at completion time, so newly-added flags light up without regenerating the script. Bash version uses compgen with per-session caching in ; zsh version uses the _arguments + compdef framework. Both completion scripts also fall back to file-path completion in arg slots (the common case for --info-/--validate-/--export- commands that take a path). Verified: - --list-commands: 103 unique flags emitted alphabetically - --gen-completion bash: well-formed script using full binary path for the cached --list-commands invocation - --gen-completion zsh: same shape, _arguments-based - Unknown shell: clear error + exit 1 |
||
|---|---|---|
| .. | ||
| asset_extract | ||
| auth_login_probe | ||
| auth_probe | ||
| blp_convert | ||
| dbc_to_csv | ||
| editor | ||
| asset_pipeline_gui.py | ||
| backup_assets.sh | ||
| diff_classic_turtle_opcodes.py | ||
| gen_opcode_registry.py | ||
| generate_ffx_sdk_vk_permutations.sh | ||
| m2_viewer.py | ||
| opcode_map_utils.py | ||
| validate_opcode_maps.py | ||