Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 539 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 539 Bytes

mtg-cli

Little CLI app to fetch data from https://api.magicthegathering.io/v1/cards with filtering and grouping.

Installation

You need NPM and Node installed.

npm -g install  mtg-cli

To uninstall delete the folder mtg-cli from your home directory and execute

npm -g uninstall mtg-cli

Use

To group in order

mtg-cli --group set rarity

To filter by properties

mtg-cli --filter colors=Red,Blue

Data is cached in first use, but if you need to udpate it use

mtg-cli --update