sharetribe-community-cli
v1.16.10
Published
UNOFFICIAL Sharetribe CLI reimplementation built on sharetribe-flex-build-sdk - 100% compatible with official flex-cli
Downloads
23
Maintainers
Readme
Sharetribe CLI
DISCLAIMER: This is an UNOFFICIAL community-maintained CLI reimplementation. For the official Sharetribe CLI, install flex-cli.
A command-line interface for Sharetribe that enables you to manage the transaction processes, transactional email templates, assets, and other resources of your marketplaces.
This CLI is a reimplementation built on sharetribe-flex-build-sdk and 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-community-clior with yarn:
yarn global add sharetribe-community-cliTo verify the installation and to see available commands, run:
sharetribe-community-cliUsage
First, authenticate with your marketplace:
sharetribe-community-cli loginThe CLI will prompt you for your API key and marketplace ID. These credentials are stored in ~/.config/flex-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-community-cli --help
sharetribe-community-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/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/sharetribe-community/sharetribe-cli/issues.
License
Apache-2.0
