Comando para reporte de ledger-cli que indenta una etiqueta según el valor del registro

#emacs #ledger_mode #zettelkasten #ledgerCli

```ledger [[ledger-mode-flags]] -f ~/SyncDocs/dummy_ledger.ldg --format "%(justify((truncated(amount, 8, 0)), (10+(10*((quantity(amount)) - (int(amount))))), 60, true)) %(ansify_if(justify(truncated(tag('doc'), 70, 0), 75, 30, false, color), green if color and tag('status') =~ /albedo/)) %(ansify_if(justify(truncated(tag('status'), 10, 0), 10, 30, false, color), white if color)) \n" reg taller --sort amount ```

Actúa sobre registros con esta estructura:

2025/07/30 Imperdiet Hendrerit

;; doc: Imperdiet Hendrerit Semper Sed Elit Nunc Porta Massa Hendrerit

;; context:

;; status: albedo

;; riesgo:: (1*1)

;; id: 49947989

taller:ornare p 3.4695

amet:elit v3

Time

Reply to this note

Please Login to reply.

Discussion

hi -- we were trying to zap you -- but it looks like you haven’t set up a NIP-05 or ⚡ lightning address yet — grab one free at https://rizful.com .. then pls reply here and we will try zapping you...