Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to list environments #3732

Open
m1hawkgsm opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3770
Open

Add command to list environments #3732

m1hawkgsm opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3770
Labels
Feature Adds new functionality

Comments

@m1hawkgsm
Copy link

Currently, in order to remove old environments, you must either:

  • wait for it to expire and run sqlmesh janitor
  • Invalidate it with sqlmesh invalidate <environment_name> and then run sqlmesh janitor

However, in the latter step, there is no way to generally list environments (whether they're expired, how much more time till expiration, etc), and the only way to figure this out is manually searching or running the UI.

I am requesting a command, perhaps sqlmesh environments with the capability to list all environments that exist (and bonus points if you could show ttl).

@georgesittas georgesittas added the Feature Adds new functionality label Jan 28, 2025
@lafirm lafirm linked a pull request Feb 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Adds new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants