0.0
No commit activity in last 3 years
No release in over 3 years
bollettino-cli is a CLI for the Bollettino library. It supports generation from CSV files as well.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.3
~> 3.1

Runtime

~> 2.12
 Project Readme

bollettino-cli

Gem Version Build Status Dependency Status Code Climate

bollettino-cli is a command line interface for Bollettino.

It supports generation of postal payment slips from the command line as well as from CSV files.

Installation

Install the gem as:

$ gem install bollettino-cli

Usage

Run the following command to generate a slip:

$ bollettino-cli generate --payee-account=[PAYEE_ACCOUNT] --payee-name=[PAYEE_NAME] \
  --payer-name=[PAYER_NAME] --payer-street=[PAYER_STREET] --payer-zip=[PAYER_ZIP] \
  --payer-location=[PAYER_LOCATION] --order-numamount=[ORDER_NUMAMOUNT] \
  --order-textamount=[ORDER_TEXTAMOUNT] --order-reason=[ORDER_REASON] [OUTPUT_PATH]

For the documentation run:

$ bollettino-cli help

Generating from CSV

To generate slips from a CSV file run:

$ bollettino-cli csv-generate --source=[CSV_PATH] [OUTPUT_DIR]

The columns' order is not important, but the headers must match the options of the generate command.

Contributing

  1. Fork it (https://github.com/interconn-isp/bollettino-cli/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Maintainers

bollettino-cli is developed and maintained by Alessandro Desantis.

License

bollettino-cli is released under the MIT license.

InterConn