node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

mtg-wishlist

mtg-wishlist

Create your wishlist based on Deckbox.org lists and a number of wanted cards

This script is very useful to create your wishlist on Deckbox.org if you want all cards from a set n times.

Setup

  1. You need to download the AllSets.json file from MTGJson and put it next to the index.js file.

This data file is necessary in order to know the composition of a booster in a given extension, as well as the extension codes.

Note: This may change in the future as it's annoying to setup.

  1. Export and download your collection as a CSV file from Deckbox.org.

Usage

Usage: index.js <inventory.csv> <count> <out.csv> [options]
 
Options:
  -h, --help     Show help                                             [boolean]
  -e, --edition  Use the given edition(s)/extension(s), can be an edition code (
                 ORI) or an edition name ("Magic Origins")               [array]
 
Examples:
  index.js ~/inventory.csv 4 ~/wishlist.csv -e ORI
 

Notes

Colors are used in your terminal to display cards rarity :)