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

feat: support staging login and gravity env #310

Merged
merged 6 commits into from
Mar 25, 2024
Merged

Conversation

brainbicycle
Copy link
Contributor

@brainbicycle brainbicycle commented Mar 22, 2024

Adds basic support for:

  • logging into staging
  • switching between staging and prod in Gravity client
  • clearing out tokens from both environments

e.g:
artsy login --staging
will open the staging login flow and set a staging token in the config.

Needed this for another project but seems generally useful in the meantime! Let me know any feedback

Based on this discussion from initial implementation: https://github.com/artsy/cli/pull/62/files#r580642852

@brainbicycle brainbicycle added the ff Future Fursday/Friday label Mar 22, 2024
@brainbicycle brainbicycle self-assigned this Mar 22, 2024
Copy link
Member

@jonallured jonallured left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!! 🏆

@brainbicycle brainbicycle merged commit 26ae894 into main Mar 25, 2024
4 checks passed
@brainbicycle brainbicycle deleted the brian/staging-access branch March 25, 2024 16:45
@artsyit
Copy link
Contributor

artsyit commented Mar 25, 2024

🚀 PR was released in v1.9.0 🚀

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ff Future Fursday/Friday released Version: Minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants