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

Bulk Resource Management #156

Merged
merged 5 commits into from
Jan 4, 2023
Merged

Bulk Resource Management #156

merged 5 commits into from
Jan 4, 2023

Conversation

danielgtaylor
Copy link
Owner

This PR adds support for client-side bulk resource management via a git-like interface behind the new restish bulk subcommand. Typical usage:

$ mkdir books && cd books
$ restish bulk init api.rest.sh/books

# ... Make changes ...

$ restish bulk status
$ restish bulk diff

$ restish bulk push

This works for any API which returns a list of versioned resources which either include links to fetch each resource, or have enough information to generate links from a template. Lots of docs are included so I'll let those stand on their own and not repeat everything here!

@danielgtaylor danielgtaylor added the enhancement New feature or request label Jan 4, 2023
@danielgtaylor danielgtaylor merged commit f5e8cd9 into main Jan 4, 2023
@danielgtaylor danielgtaylor deleted the bulk branch January 4, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant