Skip to content

Feature: cloud CLI context bar (AWS, GCP, Azure active profile and region) #56

Description

@KrisPowers

Summary

Engineers working with cloud providers (AWS, GCP, Azure) need to know at a glance which account, project, or subscription they are operating in. A mistake in the active context can result in running commands against the wrong environment. Currently, the app provides no visibility into cloud CLI state.

Proposed scope

A configurable status indicator in the terminal info bar (or as a sidebar panel) that shows:

  • AWS: active profile name and region (from ~/.aws/config or AWS_PROFILE / AWS_DEFAULT_REGION env vars)
  • GCP: active gcloud project and account
  • Azure: active subscription name

The indicator updates when the current working directory changes (since some engineers use per-directory env var files to set the cloud context).

A quick-switcher lets the user change profiles/projects/subscriptions without running a terminal command.

Implementation approach

For a read-only first version, parse the relevant config files directly:

  • AWS: ~/.aws/config and ~/.aws/credentials
  • GCP: ~/.config/gcloud/active_config
  • Azure: ~/.azure/profile

Switching contexts would invoke the respective CLI (via shell.exec) only when the user makes a change.

Who benefits

  • DevOps engineers who maintain multiple cloud environments (dev, staging, production)
  • Platform engineers who manage infrastructure across multiple accounts or projects
  • Data engineers accessing cloud data warehouses and storage

Files

  • app/frontend/src/apps/cloudcontext/ (React panel or status bar component)
  • cpp/src/fileops.cpp (read cloud config files, or reuse existing fs.readfile IPC)
  • Register in sidebar if implemented as a full panel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions