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(cli): token command #7961

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

feat(cli): token command #7961

wants to merge 1 commit into from

Conversation

RostiMelk
Copy link
Member

@RostiMelk RostiMelk commented Dec 5, 2024

Description

Introducing a token command to the CLI. This allows you to list, create and delete Sanity API tokens for a given project.

Commands:
   create  Create a new API token for project
   delete  Delete an API token from project
   list    List all API tokens in project

What to review

  • Are there any edge cases I am not taking into account?
  • Is it secure? Does the fetch in node use SSL?

Testing

Not sure what the best practice is for testing here.

Notes for release

N/A

@RostiMelk RostiMelk requested a review from a team as a code owner December 5, 2024 17:46
@RostiMelk RostiMelk requested review from pedrobonamin and removed request for a team December 5, 2024 17:46
Copy link

vercel bot commented Dec 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 6:01pm
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 6:01pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 6:01pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 6:01pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Dec 5, 2024 6:01pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant