Skip to main content

CLI Overview

Run iac-code from the terminal:

iac-code

The CLI supports two workflows:

WorkflowUse it when
Interactive ModeYou want to refine infrastructure requirements over multiple turns in a REPL.
Non-interactive ModeYou want to run a single prompt and return output to a caller.

Common startup commands:

iac-code
iac-code --prompt "Create an OSS Bucket"
echo "Create a VPC" | iac-code --prompt -
iac-code --debug

Use Command Line Options for startup flags and Slash Commands for commands available inside an interactive session.