Skip to content

lgaticaq/codigo-postal-cli

Repository files navigation

codigo-postal-cli

npm version npm downloads Build Status Coverage Status Maintainability dependency Status devDependency Status

Get postal code from Correos de Chile CLI

Installation

npm i -g codigo-postal-cli

Use

codigo-postal

Usage: codigo-postal -a <calle> -n <numero> -c <comuna>

CLI para obtener el Código Postal

Options:

  -h, --help             output usage information
  -V, --version          output the version number
  -a, --calle [calle]    Agregar calle
  -n, --numero [numero]  Agregar numero
  -c, --comuna [comuna]  Agregar comuna
  -x, --copy             Copiar al portapapeles

Example

codigo-postal -a "avenida siempre viva" -n 742 -c springfield -x

Licencia

MIT