Easy Ledger CLI: a management tool for ledger-cli ledgers
Source: Dev.to
Introduction
I recently started using ledger-cli, a fat‑free accounting tool.
What it does offer is a double‑entry accounting journal with all the flexibility and muscle of its modern‑day cousins, without any of the fat.
Check their GitHub repository for more details. It’s a great concept and lovely to use for reporting and tracking your accounting.
The Problem
When adding transactions via the command line, you have to type the full path to your ledger file each time. This can become long and tedious, especially since the ledger is just a simple text file. Although ledger-cli provides a ledger-mode with shortcuts and syntax highlighting, I prefer not to edit the file directly and would rather add transactions through a clean CLI without worrying about the ledger file location.
Solution: Easy Ledger CLI
I created a basic CLI tool that allows you to:
- Manage multiple ledgers (e.g., one for your company, one for personal use)
- Seamlessly switch between ledgers
- Add stocks and transactions interactively
Future Plans
- Support all transaction types and details
- Add basic reports
- Enable pre‑configuration of custom ledger commands
Get Started
Give it a try and let me know what you think! Contributions are welcome.