Clone Template
Clone the KAppMaker template (or any custom template) into a new project directory. This is step 1 of kappmaker create exposed as a standalone command — useful when you only want to scaffold a project and apply your own changes (e.g. clone + refactor without touching Firebase, ASC, or stores).
Command: kappmaker clone <app-name>
kappmaker clone Remimi
kappmaker clone Remimi --template-repo git@github.com:my-org/my-template.git
kappmaker clone Remimi --target-dir ./projects/Remimi
Options
| Flag | Description | Default |
|---|---|---|
--template-repo <url> | Git URL of the template repository | templateRepo from CLI config |
--target-dir <path> | Target directory for the clone | <AppName>-All |
App Name Rules
PascalCase, starts uppercase, alphanumeric only — same rules as create.
What It Does
- Validates the app name.
- If no config exists at
~/.config/kappmaker/config.json, runskappmaker config initfirst. - If the target directory already exists, prompts to delete and start fresh.
- Runs
git clone <templateRepo> <targetDir>.
Minimal Flow
Clone + refactor — without Firebase, ASC, Play Console, or Adapty:
kappmaker clone MyApp
cd MyApp-All/MobileApp
kappmaker refactor --app-id com.example.myapp --app-name MyApp
Optionally rename the template's origin to upstream so you can add your own origin:
cd ..
kappmaker git setup-upstream
See git setup-upstream for details.