A command-line interface for Sharetribe Flex. Flex CLI enables you to manage the transaction processes and transactional email templates of your marketplaces.
To use Flex CLI, you will need a marketplace and an admin user API key. You can request a marketplace from www.sharetribe.com/flex to get credentials to Console where you can generate new API keys in the Build section.
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 Flex 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 Flex CLI, see the Getting started with Flex CLI tutorial in Flex Docs.
If you are having problems with Flex CLI, contact our support through the widget in Console, or ask for help in the Flex developer Slack forum.
Refer to the README for development.
This project is licensed under the terms of Apache License, Version 2.0.
See the LICENSE file.