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!: Refactor hubdb commands #1267

Open
wants to merge 10 commits into
base: next
Choose a base branch
from
Open

Conversation

kemmerle
Copy link
Contributor

Description and Context

As part of our CLI audit efforts, I have refactored the hs hubdb commands to conform to our CLI Design Guidelines. I'll list the major changes below for testing convenience:

hs hubdb clear:
-Falls back to prompt if tableId is not specified.

hs hubdb create:
-Removes the src positional in favor of a flag --path

hs hubdb fetch:
-Falls back to prompts for both tableId and dest if not specified

hs hubdb delete:
-Falls back to prompt for table Id if not specified
-Prompts for confirmation before deleting and supports a --force flag to bypass it

Screenshots

Screenshot 2024-11-22 at 4 39 56 PM Screenshot 2024-11-22 at 4 40 20 PM

TODO

  • Add addGlobalOptions middleware to remove --version flag
  • Address feedback

Who to Notify

@brandenrodgers @camden11 @joe-yeager

@kemmerle kemmerle changed the title chore: Refactor hubdb commands feat!: Refactor hubdb commands Nov 22, 2024
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.

2 participants