-
Notifications
You must be signed in to change notification settings - Fork 43
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
feature/swagger-cli-version #43
Conversation
- Added prompts package - Functionality check versioning against main repo
-Test swagger method WIP
1. Testbed covering individual version files 2. Major swagger testbed updates - WIP
1. Copy edit 2. QOL with main version interaction 3. Test case update
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.
Can you toss a .then()
on this to catch these new API call successes and display a message? The API responses from versions:create
and versions:delete
are getting dumped to the terminal.
Happy to. |
When I try to run Same thing happens with |
1. Error handling for dup creation 2. Help Params for versions 3. Copy
This was an issue with the |
Few things I noticed!
|
I'll factor this into #45 |
We should always do the prompt for which version to upload the swagger file to (unless they pass --version in the command, or have the --id already in there). Currently if the version already exists in readme, it will just upload it to that version. This can be kinda confusing, so I think it's better to be explicit! |
This seems to be working as intended. Why put them through the process if it works behind the scenes for the user? |
… fixed fork parseint
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.
Looks good to me!
This is half of a 2 part PR. The other half can be referenced in https://github.com/readmeio/readme/pull/ under the same name. You will need to have both branches running for full functionality.
This creates CLI interactions for the new version CRUD API. Additionally, it allows version control with the
rdme swagger
command.