-
Notifications
You must be signed in to change notification settings - Fork 1
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: add storage providers commands #62
Conversation
}).run(function* ({ ctx }) { | ||
for (const line of update.help(ctx)) { | ||
yield line; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the update only updates s3? or why is this one returning a message and we have update/s3
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This way if you type pspace storage-provider update
it will give a help message indicating that there's an s3
subcommand.
We only want to do s3 for now, adding DO/others is out of scope and will be after the initial release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add some description in line 12 about being prompted to select a type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It actually does prompt already:
kevin@L21C424TL4 cli % bin/macos-arm/pspace storage-provider update
Update a storage provider.
Usage
pspace storage-provider update [command]
pspace storage-provider update [flags]
Available Commands
help Show help for a update command
s3 Update an S3 storage provider
Global Flags
--api-key string A Paperspace public API Key used for authenticating requests
--api-url string A URL for the Paperspace API.
-h, --help Show help for a command
-j, --json Output JSON
-l, --log-level string Enable debug logging
Use "pspace storage-provider update [command] --help" for more information about a command.
🎉 This PR is included in version 1.9.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.