This is a NodeJS Command Line Interface build on oclif to interact with yordadev's Headless eCommerce Platform. See documentation for more information.
cd <path> && git clone https://github.com/yordadev/yordadev-cli.git .
npm install
yordadev-cli --help
If you recieve symlink error, on npm install
add additional flag --no-bin-links
.
alias <desiredAlias>='yordadev-cli'
<desiredAlias> --help
Login and Register generate a config.json file. Aint no worries. Keep this file safe while token is active.
yordadev-cli login -e test@user.com
yordadev-cli register -e test@user.com
yordadev-cli account
yordadev-cli shop -m create