Huuma CLI is a command-line tool for creating and managing Huuma applications. It provides utility commands to streamline Huuma application development.
Note: Huuma CLI is currently in early development. Options and commands might change in future versions. Use with caution!
deno install -A -f -g -r -n huuma jsr:@huuma/clihuuma [OPTIONS] [COMMAND]
| Option | Description |
|---|---|
-h, --help |
Display help information |
-V, --version |
Show current version of Huuma CLI |
| Command | Description |
|---|---|
p, project |
Create a new project structure |
u, upgrade |
Upgrade Huuma CLI to the latest version |
You can create a new Huuma project with the following command:
huuma projectThe CLI will prompt you for:
- Project name - The name of your new project (will be created as a directory)
- Project type - Currently supports website applications
Creates a basic Huuma website application with the following structure:
your-project-name/
├── assets/
├── pages/
│ ├── page.tsx
│ └── root.tsx
├── src/
├── app.ts
├── dev.ts
└── deno.json
assets/- Directory for static assetspages/- Directory for page componentssrc/- Directory for application source codeapp.ts- Main application entry pointdev.ts- Development server entry pointdeno.json- Deno configuration file
After creating a project, you can use the following commands from your project directory:
# Start development server with hot reloading
deno task dev
# Bundle the application for production
deno task bundle
# Start the production server
deno task start- Deno runtime
MIT
Built with ❤️ by the Huuma team