CLI Overview
Run iac-code from the terminal:
iac-code
The CLI supports two workflows:
| Workflow | Use it when |
|---|---|
| Interactive Mode | You want to refine infrastructure requirements over multiple turns in a REPL. |
| Non-interactive Mode | You 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.