Skip to main content
The CLI uses a context to decide which account, profile, namespace, and subnet a command applies to. Use idyl whoami to inspect the active context:
idyl whoami

Update saved context values

Set default values when you want future commands to use the same namespace or subnet:
idyl context edit --set-namespace <namespace>
idyl context edit --set-subnet <subnet>
Only the values supplied by flags are changed.

Override context for one command

Many commands accept context flags. Use them when a command should run against a different account, namespace, subnet, or saved context without changing your defaults.
SettingFlag
Account--account-id <id>
Saved context--context <name>
Namespace--namespace <name>
Profile--profile <name>
Realm--realm <realm>
Subnet--subnet <slug-or-name>
Example:
idyl get deployment web --namespace <namespace> --subnet <subnet>

Use a different configuration directory

Use --homedir when you need a command to read configuration from a different IDYL directory:
idyl whoami --homedir <path>
By default, the CLI uses ~/.idyl.