Skip to content

feat(logs): add integration tests and autodocs for logs subcommand#100

Merged
hyldmo merged 1 commit into
mainfrom
hyldmo/logs-filter-process
Apr 15, 2026
Merged

feat(logs): add integration tests and autodocs for logs subcommand#100
hyldmo merged 1 commit into
mainfrom
hyldmo/logs-filter-process

Conversation

@hyldmo
Copy link
Copy Markdown
Owner

@hyldmo hyldmo commented Apr 15, 2026

Summary

  • Add 6 integration tests for numux logs subcommand (process lookup, latest symlink, error messages)
  • Extend SubcommandDef with examples, completionArgs, and completionScript fields so docs and shell completions are data-driven from cli-flags.ts
  • Refactor completions.ts to generate subcommand completions from metadata instead of hardcoding per shell
  • Add ## Logging section to README with <!-- generated:logging-usage --> marker

Test plan

  • All 636 tests pass (0 failures)
  • bun run docs regenerates correctly
  • Shell completions generated from SubcommandDef data

🤖 Generated with Claude Code

Add integration tests for `numux logs` covering process lookup, latest
symlink, error messages. Extend SubcommandDef with `examples` and
`completionArgs` fields so docs and shell completions are data-driven
from cli-flags.ts instead of hardcoded. Add `## Logging` section to
README with generated usage examples.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hyldmo hyldmo merged commit 7eeeb87 into main Apr 15, 2026
2 checks passed
@hyldmo hyldmo deleted the hyldmo/logs-filter-process branch April 15, 2026 22:33
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant