CLI recipes

Copy/paste examples from the real parser. Global flags may sit before or after the command.

Login:

eve-iac login --username admin --password secret

Session:

eve-iac session

Validate:

eve-iac validate ./lab

Import (first adoption; does not mutate source_lab):

eve-iac import ./imported-lab

Plan:

eve-iac plan ./lab

Deploy:

eve-iac deploy ./lab

Reconcile to EVE:

eve-iac reconcile ./lab --direction to_eve

Pull / reconcile from EVE (updates Git via commit_pulled when the payload says so):

eve-iac reconcile ./lab --direction from_eve

Start:

eve-iac exec ./lab start

Stop:

eve-iac exec ./lab stop

Wipe:

eve-iac exec ./lab wipe --yes

JSON:

eve-iac plan ./lab --json

jq:

eve-iac plan ./lab --json | jq .

Health with explicit URL and CA:

eve-iac --url https://eve.example:8787 --ca-file ./ca.pem health

Replace an existing managed lab:

eve-iac deploy ./lab --replace --yes

Prune extra live objects (to_eve only):

eve-iac reconcile ./lab --prune --yes

Destroy:

eve-iac destroy ./lab --yes

Inspect with cache bypass:

eve-iac inspect ./lab --refresh

One node:

eve-iac exec ./lab start --node n_1

GitLab CI and GitHub Actions: GitLab CI, GitHub Actions.