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

misc: addressed reported flaws with CLI usage #2248

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

sheensantoscapadngan
Copy link
Member

@sheensantoscapadngan sheensantoscapadngan commented Aug 6, 2024

Description 📣

This PR addresses two issues in the CLI:

  1. secrets set command requiring local workspace config file even when using auth tokens
  2. "not-found" texts are being displayed during secrets get even with the --plain flag

The PR also adds an API for fetching project ID by slug or name which will make CLI usage easier to automate

Type ✨

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

@sheensantoscapadngan sheensantoscapadngan changed the title misc: addressed reported cli behaviors misc: addressed reported behaviors regarding CLI usage Aug 8, 2024
@sheensantoscapadngan sheensantoscapadngan changed the title misc: addressed reported behaviors regarding CLI usage misc: addressed reported flaws with CLI usage Aug 8, 2024
Copy link
Member

@akhilmhdh akhilmhdh left a comment

Choose a reason for hiding this comment

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

CLI operations seems to be working fine on my end now.

Only one catch is secrets set when doing it against without a workspace config file and without token doesn't throw any error. It just returns an empty table kinda weird because i didn't understand what happened

backend/src/server/routes/v1/project-router.ts Outdated Show resolved Hide resolved
@sheensantoscapadngan sheensantoscapadngan force-pushed the misc/addressed-reported-cli-behaviors branch from fd83c36 to 14c1b4f Compare August 9, 2024 09:55
akhilmhdh
akhilmhdh previously approved these changes Aug 10, 2024
@sheensantoscapadngan sheensantoscapadngan merged commit 170f8d9 into main Aug 13, 2024
4 checks passed
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.

3 participants