-
Notifications
You must be signed in to change notification settings - Fork 0
CLI Options
This page covers the non-default CLI paths and reference-style options.
For normal interactive use, run:
aicage <agent>That opens the default setup screen.
-
--dry-run: print the composeddocker runcommand without executing it. -
--menu ui|simple|none: use the default setup screen, the classic line-based prompt menu, or no menu. -
--docker: mount/run/docker.sockinto the container to enable Docker-in-Docker workflows. -
--share <path>: mount a host path into the container. Repeatable; append:rofor read-only. - Extensions can also define extra shares (host mounts).
-
--config: print the project config path and its contents. -
--config remove [<agent>]: remove the whole project config file, or only one agent entry.
-
aicage <agent>andaicage --menu ui <agent>use the default setup screen. -
aicage --menu simple <agent>uses the older line-based prompt flow. -
aicage --menu none <agent>skips menus and accepts defaults.
In normal use, the default setup screen is the intended path.
Most users can review and change settings by rerunning aicage <agent> and using the setup screen.
--config and --config remove are mainly useful for inspection, recovery, or automation:
-
aicage --config: print the project config path and contents -
aicage --config remove: remove the whole saved project config -
aicage --config remove <agent>: remove only one saved agent entry
When set on the host, aicage forwards these proxy env vars to local image builds and runtime:
HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and NO_PROXY.
-
-h,--help: show usage and exit. -
--version: print theaicageversion and exit.
Print the docker command without running it (replace <agent> with your agent):
aicage --dry-run <agent>Use the default setup screen:
aicage <agent>Use the classic line-based prompt menu:
aicage --menu simple <agent>Run without menus and accept defaults:
aicage --menu none <agent>Mount the Docker socket for Docker-in-Docker:
aicage --docker <agent>Share a host directory into the container (read-only):
aicage --share /data:ro <agent>Show the project config path and contents:
aicage --configRemove only the codex entry from the project config:
aicage --config remove codex