accounting

Version, currently main branch1 version
  • main branchlatestApr 27, 2022

github.com/aquaflamingo/crystal-books

Basic Book Keeping CLI in Crystal

4 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  accounting:
    github: aquaflamingo/crystal-books
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
Robert
Target
  • accounting from src/accounting.cr

Dependencies

This version declares no dependencies.

README

Crystal Books

Simple in memory book keeping program

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

Installation

Clone the repository

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

Clone the repository

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