Show help by default instead of running demo#1
Merged
robdimarco-atxp merged 1 commit intomainfrom Sep 9, 2025
Merged
Conversation
- Add comprehensive help module with usage information - Update CLI to show help when no command is provided - Require explicit 'demo' command to run the demo - Add support for help, --help, -h flags - Improve error handling for unknown commands Fixes: https://linear.app/novellum/issue/ATXP-240/running-npx-atxp-should-print-out-help 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
ATXP-240 Running `npx atxp` should print out help
if you run npx atxp (with no argument) it currently runs npx atxp demo We want it to instead print out a general help / how-to-use blurb, and the demo should only run if you explicitly do npx atxp demo |
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.
Summary
npx atxpfrom running demo to showing helpnpx atxp democommand to run the demo applicationChanges
src/help.ts- Help display module with CLI documentationsrc/index.ts- Modified command parsing to show help by defaultTest plan
npx atxpnow shows help instead of running demonpx atxp helpdisplays help correctlynpx atxp demostill runs the demo when explicitly requestednpx atxp createcontinues to work for project creationFixes: https://linear.app/novellum/issue/ATXP-240/running-npx-atxp-should-print-out-help
🤖 Generated with Claude Code