What problem does it solve?
This Skill addresses the need for efficient and convenient command-line access to the Spree Admin API, allowing users to quickly explore, debug, and interact with their Spree store data without the need for a graphical interface.
Core Features & Use Cases
- Command-Line API Access: Interact with the Spree Admin API using
spree api commands for GET, POST, PATCH, and DELETE operations.
- Interactive Debugging: Quickly inspect and manipulate data, diagnose issues, and test scenarios in real-time.
- Offline Discovery: View available endpoints and their schemas without an internet connection.
- Use Case: When troubleshooting a specific issue in the Spree Admin API, use the CLI to inspect the order state, check product details, or debug failed requests.
Quick Start
To get started, install the spree-cli skill and run the following command to retrieve all active products:
spree api get /products -q status_eq=active