Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Huuma CLI is a command-line tool for creating and managing Huuma applications. It provides utility commands to streamline Huuma application development.
Huuma CLI
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!
Installation
deno install -A -f -g -r -n huuma jsr:@huuma/cli
Usage
huuma [OPTIONS] [COMMAND]
Options
| Option | Description |
|---|---|
-h, --help |
Display help information |
-V, --version |
Show current version of Huuma CLI |
Commands
| Command | Description |
|---|---|
p, project |
Create a new project structure |
u, upgrade |
Upgrade Huuma CLI to the latest version |
Creating a New Project
You can create a new Huuma project with the following command:
huuma project
The 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
Project Types
Website
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
Available Scripts
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
Requirements
- Deno runtime
License
MIT
Built with ❤️ by the Huuma team
Add Package
deno add jsr:@huuma/cli
Import symbol
import * as cli from "@huuma/cli";
Import directly with a jsr specifier
import * as cli from "jsr:@huuma/cli";
Add Package
pnpm i jsr:@huuma/cli
pnpm dlx jsr add @huuma/cli
Import symbol
import * as cli from "@huuma/cli";
Add Package
yarn add jsr:@huuma/cli
yarn dlx jsr add @huuma/cli
Import symbol
import * as cli from "@huuma/cli";
Add Package
vlt install jsr:@huuma/cli
Import symbol
import * as cli from "@huuma/cli";
Add Package
npx jsr add @huuma/cli
Import symbol
import * as cli from "@huuma/cli";
Add Package
bunx jsr add @huuma/cli
Import symbol
import * as cli from "@huuma/cli";