Skip to content

feat(cli): headless/CI commands (mods show, --dry-run, doctor, completions) - #37

Merged
kldzj merged 1 commit into
mainfrom
feat/headless-cli
Jul 7, 2026
Merged

feat(cli): headless/CI commands (mods show, --dry-run, doctor, completions)#37
kldzj merged 1 commit into
mainfrom
feat/headless-cli

Conversation

@kldzj

@kldzj kldzj commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Rounds out the scriptable CLI on top of the new --json flag so pzmod works
end to end in scripts and CI. All additive and backward compatible.

What's included

  • mods show <id...>: print resolved Workshop details (title, type, size,
    mod IDs, maps, collection children) as text or --json.
  • --dry-run on set, mods add, mods remove: print the change, write
    nothing (no file write, no backup snapshot). Handy with --json in CI.
  • doctor: one-shot health check (api-key, config, build, validation) with
    a non-zero exit on error. --offline skips the network check.
  • Shell completions: --profile names, installed IDs for mods remove/show,
    config keys for get/set. Local only, no network in completion hooks.

Round out the scriptable CLI on top of --json:
- mods show <id...>: print resolved Workshop details (text or --json)
- --dry-run on set, mods add, and mods remove: preview the change, write nothing
- doctor: composed health checks (api-key, config, build, validation);
  non-zero exit on error, --offline to skip the network check
- dynamic shell completions: profile IDs, installed mod IDs, config keys

README updated for each command. All additive and backward compatible.
@kldzj
kldzj merged commit a63c476 into main Jul 7, 2026
1 check passed
@kldzj
kldzj deleted the feat/headless-cli branch July 7, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant