Add the following code to your project's shard.yml under:
dependencies
to use in production
- OR -
development_dependencies
to use in development
Simple in memory book keeping program
Clone the repository
cd crystal-books
make build
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
>>>
Clone the repository
cd crystal-books
make install
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)