Skip to main content

cpod-apps create

Scaffold a new CyberPod application.

Usage

cpod-apps create [name] [options]

Arguments

ArgumentDescription
nameApp name (prompts if not provided)

Options

OptionDescriptionDefault
-t, --template <type>Template to usenextjs
-d, --directory <path>Target directory./<app-id>
--no-interactiveSkip prompts, use defaults-
--dry-runPreview without creating files-

Examples

Interactive Mode

cpod-apps create

Prompts for:

  • App name
  • App ID (auto-generated from name)
  • Description
  • Category
  • Tags
  • Icon

Quick Create

cpod-apps create my-app --no-interactive

Creates app with defaults using the provided name.

Preview

cpod-apps create my-app --dry-run

Shows what would be created without writing files.

Generated Files

my-app/
├── app.json # App manifest
├── Dockerfile # Container configuration
├── package.json # Dependencies
├── README.md # Documentation
├── next.config.js # Next.js config
├── tsconfig.json # TypeScript config
├── .gitignore # Git ignore rules
├── .env.example # Environment template
└── app/
├── layout.tsx # Root layout
├── page.tsx # Home page
└── globals.css # Global styles

App ID Naming

App IDs are automatically normalized to lowercase kebab-case:

InputNormalized ID
My Appmy-app
MyAwesomeAppmy-awesome-app
my_app_namemy-app-name

Rules:

  • Lowercase letters, numbers, and hyphens only
  • 3-50 characters
  • No consecutive hyphens
  • Cannot start or end with hyphen