Food delivery from the command line

Seemlessly order food from the command line like with any food delivery app.

Getting Started

Use the following commands to get started with Market CLI.

npx market-cli login
Create an account with your phone number, or login with your existing account. You can use the -p flag like this npx market-cli login -p +15555555555.
npx market-cli logout
Logout of your account on the current device.
npx market-cli menu
See all items in the menu. You can use the ID to add an item to your cart. You can use the -c flag to filter menu items by category like npx market-cli menu -c food
npx market-cli cart add-item
Add an item to your cart. Some items will have configurations available. You optionally can use the -i flag specify the item's ID (from the menu) like this npx market-cli cart add-item -i 123456789.
npx market-cli cart remove-item
Remove an item from your cart. You can optionally use the -i flag specify the item's ID (from the cart) like this npx market-cli cart remove-item -i 123456789.
npx market-cli checkout
Pay for all of the items in your cart. You will be prompted to open a Stripe payment link from your terminal which most terminals allow you to open via cmd + click