Skip to main content
View and manage saved contexts. A context is a named configuration that defines the Network, identity, account, profile, entered Namespace, and subnet for CLI commands. Contexts let you switch between environments without re-authenticating.

Usage

Aliases

  • contexts
  • ctx

Commands

Inherited flags

Examples

Subcommand reference

idyl context create

Create a new context by selecting an account and profile. A context stores all the configuration needed to interact with an IDYL Network, including identity, account, profile, Namespace, and subnet settings. When run without arguments, the command enters interactive mode and prompts you to select an account and profile from available options.

Usage

Flags

Examples

idyl context delete

Delete a context by name. By default, the current context cannot be deleted. Use —force to override.

Usage

Aliases

  • rm

Flags

Examples

idyl context edit

Edit settings on the current context, or a specific context with —context. Only the specified flags are updated; other settings remain unchanged. Editing a context does not validate the Namespace against the platform. Use ‘idyl use’ to enter a Namespace that is checked as it is entered.

Usage

Flags

Examples

idyl context get

Get details of a specific context, or list all saved contexts. With no arguments, lists all contexts. With a name argument, shows details of that specific context.

Usage

Aliases

  • list
  • ls

Examples

idyl context show

Show details of the current active context.

Usage

Examples

idyl context use

Switch the active context. A context carries the Network, identity, account, profile, entered Namespace, and subnet. Switching contexts changes all of them at once; to move within the current context, use ‘idyl use’. With no argument, an interactive selector lists the saved contexts. When switching, the access token is refreshed if needed.

Usage

Examples