Skip to content

millette/got-weed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

got-weed

Build Status Coverage Status

Find out what products are currently in stock at SQDC.

Install

If you have node v8.12.0 or above, you can install the cli with:

$ npm install --global got-weed

If you prefer, you can download a binary from release pages which bundles node with this project for GNU/Linux, Windows and MacOS.

Usage

$ got-weed <command> [options]

Usage Examples
  $ got-weed products --language=fr
  $ got-weed products --in-stock=yes --language=en
  $ got-weed products --in-stock --language=en
  $ got-weed products --in-stock=no --language=en
  $ got-weed stores
  $ got-weed locations
  $ got-weed products --location=qc # also accepts qu(e|é)bec and sqdc

Commands
  locations       List supported countries and provinces/states
  products        List products
  stores          List local stores

Options
  --details   -d  More detailled output (not implemented yet)
  --force     -f  Bypass cached files if any and force download (not implemented yet)
  --in-stock  -s  In stock only; in-stock=false for the reverse
  --language  -l  Language (fr or en), defaults to $LANG or $LANGUAGE
  --version       Output software version
  --help          This help text

Contributors

License

AGPL-v3 © 2018 Robin Millette and contributors