Skip to content

(cli): Add context show and session status commands to CLI #3000

@atharvalade

Description

@atharvalade

The context and login session workflow is missing two observability commands that would improve the developer experience.

1. iggy context show <name>

Currently iggy context list only shows context names. There's no way to see what's inside a context (transport, server address, credentials) without manually reading ~/.iggy/contexts.toml. A context show command would let users inspect a specific context's configuration from the CLI.

2. iggy session status

There's no way to check if you're currently logged in and to which server. The only workaround is running a command that requires auth (like iggy me) and seeing if it works. A simple status command would tell the user whether they have an active session and where it points.

Both of these bring the CLI closer to the docker context inspect / docker info equivalents discussed in #595.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions