Skip to content

Feature request: service aliases #9

@brettchalupa

Description

@brettchalupa

Service IDs are difficult to remember, and I'd like an easy way to reference a service by an alias that I can configure.

So, for example, let's say I have Service with ID srv-abc123 that's a Ruby server running Rails. In my head, I refer to it as rails.staging, I'd like to be able to run: render ssh rails.staging

Then for my production service, I could create an alias and SSH in like render ssh rails.prod

The interface for working with aliases could be something like: render alias create rails.staging ➡️ which then shows the TUI selector for services.

The implementation could be something like that alias mapping gets stored in the local YAML config file that the workspace is stored in. And when a command is run, it checks for the alias to get the Service ID.

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