Shard Detail

accounting v0.1.0

Basic Book Keeping CLI in Crystal
crystal crystal-lang crystal-language cli accounting

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


accounting:
  github: aquaflamingo/crystal-books

Readme

Crystal Books

Simple in memory book keeping program

https://user-images.githubusercontent.com/16901597/120935847-8eaec580-c6b9-11eb-8a70-bc68dfe7644f.mp4

Installation

git clone git@github.com:robertsimoes/crystal-books.git
cd crystal-books
make build

Usage

Basic accounting system in Crystal

./bin/crystal-books

>>>commands
ls - list accounts
save [name] - save ledger to file
debit [account, amount] - debit
credit [account, amount] - debit
addaccount [name] - add account

Loading from file:

tree 

* ledger.yml
./bin/crystalbooks --file ledger.yml

Loading ledger.yml into session

>>>

Development

git clone git@github.com:robertsimoes/crystal-books.git
cd crystal-books
make install

Contributing

  1. Fork it (https://github.com/your-github-user/accounting/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

Contributors

  • Robert - creator and maintainer