eni
Interactive CLI wizard for scaffolding Eniem projects.
Installation
npm install -g eniem-cli
Or run directly without installing:
pnpm dlx eniem-cli my-app
npx eniem-cli my-app
Usage
eni [project-name]
Options
--git-host | SSH host alias for git clone (default: github.com) |
--help, -h | Show help message |
--version, -v | Show version number |
Examples
eni my-app
eni --git-host 0xtiby my-app
Products Command
Manage Polar products interactively. Run this command from your Eniem project directory.
eni products [options]
Options
--env | Environment: sandbox or production (default: sandbox) |
--prod | Shorthand for --env=production |
--token | Polar access token (bypasses .env lookup) |
Examples
eni products
eni products --prod
eni products --prod --token=polar_xxx
Features
- Add products: Create new products with pricing, features, and display options
- Remove products: Archive products on Polar and remove from local file
- Sync to Polar: Push local product changes to Polar API
- Sync from sandbox: Copy sandbox products to production environment
- Unarchive products: Restore archived products on Polar
- Clean up Polar: Manage orphaned products (archive or import to local file)
- Regenerate TypeScript: Update generated product exports
Products are stored in products.sandbox.json and products.production.json, with TypeScript exports generated in src/features/subscription/products.generated.ts.
AI Workflow Command
Initialize or update the AI workflow files (.eni/, .claude/, specs/) in the current project.
eni ai init
eni ai init --force
This sparse-clones the latest .eni and .claude directories from the boilerplate repo and copies them into your project. A specs/ folder is created if it doesn't exist.
Once initialized, run ./loop.sh plan to start planning with AI.
What it sets up
The wizard will guide you through configuring:
- Project name and directory
- OAuth providers (GitHub, Twitter)
- Payment integration (Polar)
- Storage configuration (DigitalOcean Spaces)
- Analytics (Umami, PostHog)
License
MIT