CLI tool for managing pharmacy/medicine stock.
Adds new medicine to the stock or updates existing stock quantity.
chemcli add -n <name> -q <quantity> -e <expiry_date>-n, --name: Medicine name (required)-q, --qty: Medicine quantity (required)-e, --expiry: Medicine expiry date in YYYY-MM-DD format (optional)
Lists all available medicines in the database.
chemcli listSearches for a medicine by name.
chemcli search <medicine_name>Removes the specified quantity of a medicine from the stock.
chemcli sell -n <name> -q <quantity>-n, --name: Medicine name-q, --qty: Quantity to sell
Lists medicines that have a quantity at or below a specified threshold.
chemcli lowStock -t <threshold>-t, --threshold: Quantity threshold to check against