https://github.com/mindreframer/ledger-tools
some tools for Ledger-CLI
https://github.com/mindreframer/ledger-tools
Last synced: 8 months ago
JSON representation
some tools for Ledger-CLI
- Host: GitHub
- URL: https://github.com/mindreframer/ledger-tools
- Owner: mindreframer
- License: mit
- Created: 2013-08-07T17:41:45.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-08T18:59:38.000Z (over 12 years ago)
- Last Synced: 2025-05-17T05:38:26.886Z (11 months ago)
- Language: Ruby
- Homepage:
- Size: 180 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ledger::Tools
[](https://travis-ci.org/mindreframer/ledger-tools)
Some scripts around [Ledger-CLI](http://www.ledger-cli.org/)
- ledger-formatter:
will sort and indent your ledger file.
## Installation
$ gem install ledger-tools
## Usage
### In your libraries
> require 'ledger/tools'
### ledger-formatter
$ ledger-formatter -f /your/ledger/data.ledger
### Run tests
$ sh/test
### Start `pry`-console with ledger-tools loaded
$ sh/c
### Start `pry`-console with ledger-tools loaded (in test `ENV`)
$ sh/c test
## Contributing
1. Fork it
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 new Pull Request