init
Scaffold a new infrastructure.ts file with a starter template.
kyku init [options]Options
Section titled “Options”| Flag | Default | Description |
|---|---|---|
-p, --provider <provider> |
aws |
Cloud provider (aws, gcp, hetzner, digitalocean) |
-o, --output <path> |
./infrastructure.ts |
Output file path |
Examples
Section titled “Examples”# Scaffold an AWS projectkyku init --provider=aws
# Scaffold a GCP project to a specific pathkyku init --provider=gcp --output=./gcp-config.ts
# Scaffold a Hetzner projectkyku init --provider=hetznerThe generated file includes a basic VPC + VM example with the chosen provider. Edit it to match your infrastructure needs, then run kyku plan.