fuel infra:initfuel infra:init
Interactively generate a fuel.yml config file and a .fuel-credentials file.
Usage
fuel infra:init [options]Description
Guides you through an interactive prompt to collect AWS credentials, GitHub token, and app configuration, then writes fuel.yml (infrastructure config) and .fuel-credentials (a plain JSON credentials file) to disk. The .fuel-credentials file is automatically added to .gitignore — never commit it. Use --template to write a minimal fuel.yml stub without prompts.
Options
| Flag | Description | Default |
|---|---|---|
-o, --output <path> | Output path for the generated fuel.yml file. | ./fuel.yml |
--template | Write a minimal fuel.yml template without running the interactive prompts. | — |
--credentials-only | Only generate the .fuel-credentials file, skipping fuel.yml. | — |
Examples
Interactive setup (recommended)
fuel infra:initWrite a minimal fuel.yml stub
fuel infra:init --templateRegenerate credentials only
fuel infra:init --credentials-onlyLive Demo
Simulated terminal output for fuel infra:init. Press replay to restart.
fuel infra:init
$