210 Commits

Author SHA1 Message Date
Rob Di Marco d1dc63a794 Add dependency checks with helpful error messages (#4)
- Add dependency checking utility for git and npm
- Check dependencies before running demo and create commands
- Show friendly error messages with installation instructions
- Add tests for dependency checking functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 15:25:53 -04:00
Rob Di Marco 68cf60a9e6 Change demo repo to atxp-express-example (#3)
- Update DEMO_REPO_URL in run-demo.ts from agent-demo to atxp-express-example
- Update template URL in create-project.ts to use the new repository
2025-09-09 14:04:24 -04:00
Rob Di Marco 724821fe97 Add configurable port and directory options for demo command (#2)
- Move argument parsing from run-demo.ts to index.ts for better separation of concerns
- Add --port/-p option to specify custom demo port (default: 8016)
- Add --dir/-d option to specify custom demo directory (default: ~/.cache/atxp/demo)
- Refactor runDemo() to accept DemoOptions parameter for type safety
- Update all helper functions to use passed parameters instead of global state
- Add comprehensive documentation in help text and README files
- Support path resolution for relative directory paths

New usage examples:
- npx atxp demo --port 3000
- npx atxp demo --dir ./my-demo
- npx atxp demo --port 9000 --dir ~/projects/demo --verbose

Resolves port conflicts and allows flexible demo installation locations.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 13:43:48 -04:00
Rob Di Marco 4310dfb6ad Documentation update 2025-09-09 12:58:31 -04:00
Rob Di Marco 9af85f5479 Show help by default instead of running demo (#1)
- 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>
2025-09-09 12:56:58 -04:00
Rob Di Marco 8b576eb5bb Get tests working 2025-09-09 12:38:36 -04:00
Rob Di Marco 0939d87016 Get linting wokring 2025-09-09 12:20:04 -04:00
Rob Di Marco 37b50042f4 Add test/release workflows 2025-09-09 12:17:07 -04:00
Rob Di Marco 6c1f7dcf59 Fix lint issues 2025-09-09 12:10:46 -04:00
Rob Di Marco b064145293 Moved https://github.com/atxp-dev/sdk/pull/29 into its own repository v1.0.3 2025-09-09 12:09:19 -04:00