@oxog/praxis-cli
v1.0.0
Published
CLI tool for Praxis framework - scaffold projects, manage components, and more
Downloads
3
Maintainers
Readme
Praxis CLI
Command-line interface for the Praxis framework.
Installation
npm install -g @oxog/praxis-cliUsage
Create a new project
praxis create my-appGenerate components
praxis generate component MyComponentStart development server
praxis devBuild for production
praxis buildRun tests
praxis testCommands
create <project-name>- Create a new Praxis projectgenerate <type> <name>- Generate components, stores, etc.dev- Start development serverbuild- Build for productiontest- Run testslint- Run linterupgrade- Upgrade Praxis dependencies
Options
-v, --version- Show version-h, --help- Show help--verbose- Enable verbose logging--no-install- Skip dependency installation
Templates
The CLI supports multiple project templates:
default- Basic Praxis setuptypescript- TypeScript configurationtailwind- With Tailwind CSSfull- Full-featured setup with all tools
Configuration
Create a praxis.config.js file in your project root:
export default {
// CLI configuration
cli: {
defaultTemplate: 'typescript',
packageManager: 'npm' // or 'yarn', 'pnpm'
}
}License
MIT
