This idea has been merged into another idea. To comment or vote on this idea, please visit PL-I-452 Litium Cloud CLI improvements.
It would be great to have the option to configure aliases that map to subscription IDs.
For example, you could run this once:
> litium-cloud subscription alias add --subscription XYZXYZ --alias name
Then you could simply use:
> litium-cloud apply --subscription name --env test -f app.yaml
which would be the same as:
> litium-cloud apply --subscription XYZXYZ --env test -f app.yaml
Nice to have: aliases are shared with everyone who has access to the subscription.
But it that case it would be also good to have some safeguards in place to prevent misuse - such as assigning another customer's ID as an alias.
Just wanted to mention that you can already achieve a similar workflow today by using contexts in the CLI:
https://docs.litium.com/cloud/serverless/guides/tips-and-tricks
With contexts, you can store subscription + environment configuration once and then run commands without specifying them each time, which covers much of the same use case as aliases. For example, you could structure your workspace with folders named after customers and set a context inside each folder, effectively creating a clear and safe mapping between customer and subscription