View Source Commandline.CLI (SimpleCardBrand v1.0.1)
Command line interface for checking payment card account number brands.
Build using mix escript.build from project root.
Examples
iex> ./simplecardbrand 41111111111111111
PAN: 41111111111111111 -> Unknown card brand.
iex> ./simplecardbrand 4111111111111111 7111111111111111 8331111111111111111
PAN: 4111111111111111 -> Unknown card brand.
PAN: 7111111111111111 -> Brand: gpn
PAN: 8331111111111111111 -> Unknown card brand.
iex> ./simplecardbrand 4111111 --pan-length=16
PAN: 4111111 -> Brand: visa
Summary
Functions
Entry point.
Functions
Entry point.
See module documentation for usage.