feat(cli): add --help, --version, and status subcommand - #271
Open
TerminalGravity wants to merge 1 commit into
Open
feat(cli): add --help, --version, and status subcommand#271TerminalGravity wants to merge 1 commit into
TerminalGravity wants to merge 1 commit into
Conversation
- preflight-dev --help shows usage, quick start, and one-liner setup - preflight-dev --version prints package version - preflight-dev status checks .mcp.json, .preflight/ dir, and env vars - Updated README with CLI commands section
TerminalGravity
commented
Mar 17, 2026
TerminalGravity
left a comment
Collaborator
Author
There was a problem hiding this comment.
LGTM — this was a real gap in the CLI UX. The version fallback chain for dist/ builds is a nice touch. One minor thought: might be worth supporting preflight-dev help (no dashes) as an alias since that's what people type instinctively, but not blocking.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds proper CLI argument handling to
preflight-dev:preflight-dev --help— shows usage, quick start one-liner, and docs linkpreflight-dev --version— prints package version from package.jsonpreflight-dev status— checks if preflight is configured (.mcp.json, .preflight/ dir, env vars)Previously running
npx preflight-devwith no args dropped straight into the interactive wizard with no way to get help or check status. Now users can orient themselves first.Also adds a CLI commands section to the README under Quick Start.