Skip to content

docs: backfill CLI reference with missing commands - #244

Open
iamlasse wants to merge 2 commits into
marcus:mainfrom
iamlasse:docs/backfill-cli-reference
Open

docs: backfill CLI reference with missing commands#244
iamlasse wants to merge 2 commits into
marcus:mainfrom
iamlasse:docs/backfill-cli-reference

Conversation

@iamlasse

@iamlasse iamlasse commented Sep 11, 2026

Copy link
Copy Markdown

Summary

The CLI reference documented only 10 of the CLI's commands. This backfills the rest, with every flag and default sourced from the cobra definitions in cmd/nightshift/commands/ — nothing invented.

Newly documented:

  • config (+ get/set/validate), init, install/uninstall — new Configuration Commands section
  • report, busfactor, commit normalize, doctor — new Maintenance Commands section with flag tables and examples
  • daemon start/stop/status, status, logs, stats — previously just names in the core table; now have usage examples and flag tables

Also:

  • Flag tables added for preview, task, and budget subcommands (snapshot, history, calibrate)
  • Corrected the Global Flags table: --provider and --timeout are per-command flags, not global; the only global flags are --verbose and --version
  • Links to existing website pages (budget, scheduling, task-reference, troubleshooting) and repo guides (docs/guides/provider-calibration.md, docs/bus-factor.md, docs/commit-messages.md) instead of duplicating content

Docs-only change. go build ./... and the Docusaurus website build both pass.

Nightshift-Task: docs-backfill
Nightshift-Ref: https://github.com/marcus/nightshift


Automated by nightshift

iamlasse added 2 commits June 28, 2026 02:10
Add internal/commits with pure Normalize/validate functions enforcing the project's Conventional Commits rules (known type set, lowercase type, lowercase subject, 72-char subject limit, whitespace trimming, and 72-column body wrapping). Wire it into the CLI as 'nightshift commit normalize' (positional, --file, and stdin sources; --check to validate only), ship a commit-msg git hook under scripts/, and document the format and installation in docs/commit-messages.md.

Nightshift-Task: commit-normalize
Nightshift-Ref: https://github.com/marcus/nightshift
Document previously missing commands: config (get/set/validate), init,
install/uninstall, report, busfactor, commit normalize, plus flags for
preview, task, budget, status, logs, stats, and daemon subcommands.

All flags and defaults sourced from the cobra definitions in
cmd/nightshift/commands/. Corrected the Global Flags table (--provider
and --timeout are per-command flags, not global). Links to existing
website pages and repo guides instead of duplicating content.

Nightshift-Task: docs-backfill
Nightshift-Ref: https://github.com/marcus/nightshift
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