0.0.9 • Published 1 year ago
create-armature-app v0.0.9
create-armature-app
A CLI tool to quickly scaffold a new armature-core (Armature) application.
Description
create-armature-app is a command-line interface tool that helps you create a new armature-core (Armature) application with a basic project structure and configuration. It sets up all the necessary files and dependencies to get you started with armature-core (Armature) development.
Installation
You don't need to install this package globally. You can run it directly using npx or bunx:
npx create-armature-app [project-name]
# or
bunx create-armature-app [project-name] # recommended (this CLI is built with Bun and needs Bun installed)Usage
To create a new armature-core (Armature) application, run:
bunx create-armature-app my-appIf you want to create the app in the current directory, you can run:
bunx create-armature-app .Features
- Creates a basic armature-core (Armature) application structure
- Sets up TypeScript configuration
- Installs necessary dependencies
- Creates a basic HTML template
- Sets up a basic routing structure
Project Structure
The generated project will have the following structure:
my-app/
├── src/
│ └── api/
│ └── index.ts
│ └── routes/
│ └── index.tsx
├── app.config.ts
├── tsconfig.json
└── package.jsonScripts
The generated package.json includes the following scripts:
dev: Run the development serverbuild: Build the application for productionstart: Start the production server
Requirements
- Bun.js 1.1.0 or later