Class: SplttyCLI::Commands::Settle
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- SplttyCLI::Commands::Settle
- Defined in:
- lib/spltty_cli/commands/settle.rb
Overview
spltty settle [LEDGER...] — record settlement rows.
One ledger: a ledger-local cash settlement (full, or partial via -v),
never touching other ledgers. No/many ledgers: offset mode — ledgers
whose debt points opposite to the combined direction are zeroed with
mirrored offset rows (no real money); cash is written only when -v is
given, allocated smallest-ledger-first against what remains.