A command-line interface for Sharetribe (formerly Sharetribe Flex). Sharetribe CLI enables you to manage the transaction processes and transactional email templates of your marketplaces.
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".
Install with NPM:
npm install --global flex-cli
or with Yarn:
yarn global add flex-cli
To verify the installation and to see available commands, run:
flex-cli
If you're seeing flex-cli: command not found
error on Windows and you installed Sharetribe CLI with Yarn, you need to add Yarn global bin path to the PATH environment varible.
- Run
yarn global bin
to see the global bin path - Add it to PATH environment variable
- Restart command line
For a step-by-step guide with screenshots, have a look at this blog post: 'yarn global add' command does not work on Windows
To get started with Sharetribe CLI, see the Getting started with Sharetribe CLI tutorial in Sharetribe Docs.
If you are having problems with Sharetribe CLI, contact our support through the chat widget in Console, or ask for help in the Sharetribe Developer Slack workspace.
Refer to the README for development.
This project is licensed under the terms of Apache License, Version 2.0.
See the LICENSE file.