sharetribe-cli
v1.16.1
Published
Unofficial Sharetribe CLI - 100% compatible with flex-cli
Maintainers
Readme
Sharetribe CLI
An unofficial command-line interface for Sharetribe. Sharetribe CLI enables you to manage the transaction processes, transactional email templates, assets, and other resources of your marketplaces.
This CLI is designed to be 100% compatible with the official flex-cli, using the same command structure and configuration files.
To use Sharetribe CLI, you will need a marketplace and an admin user API key. You can create a Sharetribe marketplace from www.sharetribe.com/ and get credentials to Console where you can generate new API keys in your account's "Manage API keys".
Installation
Install with npm:
npm install -g sharetribe-clior with yarn:
yarn global add sharetribe-cliTo verify the installation and to see available commands, run:
sharetribe-cliUsage
First, authenticate with your marketplace:
sharetribe-cli loginThe CLI will prompt you for your API key and marketplace ID. These credentials are stored in ~/.config/sharetribe-cli/auth.edn.
Available commands
The CLI supports all commands available in the official flex-cli:
process- Manage transaction processes (list, create, push, pull, deploy, aliases)assets- Manage marketplace assetsevents- Query and tail marketplace eventsnotifications- Manage and preview email notificationslisting-approval- Manage listing approval settingssearch- Manage search schemasstripe- Manage Stripe integrationversion- Display version informationhelp- Display help for any command
Use --help to see all available commands and their options:
sharetribe-cli --help
sharetribe-cli process --helpCompatibility
This CLI is designed to be a drop-in replacement for the official flex-cli. It uses the same configuration files (~/.config/sharetribe-cli/ or ~/.config/flex-cli/) and command structure.
SDK
This CLI is built using the sharetribe-flex-build-sdk, which is also available for programmatic use in your own applications.
Issues
If you encounter any issues, please report them at github.com/jayenashar/sharetribe-cli/issues.
License
Apache-2.0
