-
Notifications
You must be signed in to change notification settings - Fork 12
Description
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.