create-cur8d
v0.2.0
Published
Scaffold a new project from a cur8d template
Maintainers
Readme
create-cur8d
Scaffold a new project from a cur8d template.
Usage
# Interactive
npx create-cur8d
# With arguments
npx create-cur8d --template lambda my-function
npx create-cur8d --template py my-api
npx create-cur8d --template tsx my-appAvailable Templates
| Template | Stack | Repo |
|----------|-------|------|
| lambda | AWS Lambda | cur8d/lambda |
| py | Python | cur8d/python |
| tsx | TypeScript / Next.js | cur8d/typescript |
Development
Install Dependencies
pnpm installRun Locally
You can run the script locally in a few ways:
1. Using ts-node (Recommended for development)
Run the script directly from source using ts-node:
# Interactive mode
pnpm run dev
# Or with arguments (pass args after --)
pnpm run dev -- my-app --template tsx2. Using the Compiled Script
Build the project and run the output JavaScript file using Node:
pnpm run build
node dist/index.js my-app --template tsx3. Using Mise Shell Aliases
If you have mise installed, you can use the configured shell aliases:
# Install dependencies
i
# Run in development mode
d
# Build the project
bLicense
MIT © cur8d
