Skela

CLI Reference

Skela command line interface documentation

CLI Reference

# skela

The root command.

Usage: skela [command]

Flags:

  • -h, --help: help for skela
  • -v, --version: version for skela

# skela init

Initialize a new skela.yaml configuration in the current directory. This command starts an interactive wizard that helps you:

  • Set project name and target directory.
  • Define input variables.
  • Select post-generation steps (like git init, go mod tidy) or add custom shell commands.

It automatically detects if you are in a Go or Node.js project and suggests relevant steps.

skela init

# skela <template>

Arguments:

  • <template-path>: Path to the directory containing skela.yaml.

Flags:

  • -d, --dry-run: Output actions without performing them.
  • -o, --output: Specify a custom output directory (overrides target in config).
  • --set: Set variable values directly (e.g., --set name=myproject).

Example:

skela ./my-template --output ./new-project