infra:init
fuel infra:init

fuel 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

FlagDescriptionDefault
-o, --output <path>Output path for the generated fuel.yml file../fuel.yml
--templateWrite a minimal fuel.yml template without running the interactive prompts.
--credentials-onlyOnly generate the .fuel-credentials file, skipping fuel.yml.

Examples

Interactive setup (recommended)

fuel infra:init

Write a minimal fuel.yml stub

fuel infra:init --template

Regenerate credentials only

fuel infra:init --credentials-only

Live Demo

Simulated terminal output for fuel infra:init. Press replay to restart.

fuel infra:init
$