withdraw-cli(1)

πŸ’– withdraw-cli πŸ’– β€” the General Commands Manual page, but make it make sense

okay bestie so this is withdraw-cli, section 1 of the General Commands Manual, and I'm gonna walk you through it like we're texting at 2am πŸ¦‹


✨ NAME ✨

withdraw-cli β€” record multi-currency ATM withdrawals in a ledger file πŸ’Έ


✨ SYNOPSIS ✨

withdraw

that's it. that's the whole vibe. one word and you're in 🫢


✨ DESCRIPTION ✨

withdraw-cli is a text program for quickly entering cash withdrawal transactions in a ledger file. no cap, it's literally built for speed πŸƒβ€β™€οΈπŸ’¨

The way this works: it interactively asks you for accounts and withdrawn and deposited amounts, and then it adds a transaction to the ledger file after confirmation. so nothing gets written until you say yes, periodt βœ…

🚨 important bestie: the program must be supplied with the location of the ledger file it's gonna work with. you cannot skip this. it's not optional. the program is nothing without its file. it's giving main character energy but the file is the main character πŸ™ˆ

So how does it find the file? It goes through the following mechanisms, in this order. And the first mechanism which yields a result, wins πŸ† β€” like, it stops looking the second something answers. no second-guessing.


✨ ENVIRONMENT ✨

There's exactly one environment variable this program recognizes, and it's this one πŸ‘‡

  • LEDGER_FILE β€” Path to ledger file to work with. 🌸

✨ FILES ✨

The config file for ledger(1) β€” namely the file .ledgerrc in the user's home directory β€” gets scanned, looking for the following option πŸ”

  • --file FILE β€” Path to ledger file to work with. πŸŽ€

✨ SEE ALSO ✨

go read these too, they're all part of the squad πŸ’…


and that's the whole page, bestie!! πŸŽ€βœ¨

this was November 11 2022 energy, and it's the withdraw-cli(1) page from the General Commands Manual β€” go forth and record those withdrawals, you absolute icon πŸ‘‘πŸ’–

πŸ“¦ where this page comes from