akua / cli / init

akua init

Scaffold a new package or workspace.

akua init [name] [flags]

Creates a directory with:

Flags

flagdescription
--template=<name>use a template (see akua init --list-templates)
--package-name=<name>name for the Package (defaults to directory name)
--no-gitskip git init
--list-templateslist available templates

Templates

Exit codes

0 success, 1 if target directory exists and is non-empty.

JSON output

{
  "name": "my-pkg",
  "path": "/absolute/path/my-pkg",
  "template": "app",
  "files": ["package.k", "inputs.example.yaml", ".akua/", "README.md"]
}