1.0.1 • Published 2 years ago

product_add_and_remove_to_warehouse_by_eric v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Warehouse

Deploy and sell the project to the warehouse.

Created by Azizxon

Installation by npm

npm i product_add_and_remove_to_warehouse_by_eric

Installation by yarn

yarn add product_add_and_remove_to_warehouse_by_eric

Using

Comands:

  • node app : View warehouse
  • node --dep product_name product_count : Add product to warehouse
  • node -sell product_name product_count : Sell the product from the warehouse

Create products,json file

node app

Image

Add product to the warehouse

node app --dep Apple 4

Image

View the new product

node app

Image

Sell the product from the warehouse

node app -sell apple 1

Image

View the end result

node app

Image

Errors