LESANA-SHOW(1)
π LESANA-SHOW(1) π
okay bestie, gather round, because we're talking about lesana-show β the lil glow-up command that pulls up one of your lesana entries and shows it off. yes, that lesana show. manual section 1, obviously. she's an icon, she's a legend, and she's about to print your stuff. π
β¨ NAME β¨
lesana-show β show a lesana entry π¦
πΈ SYNOPSIS πΈ
lesana show [βhelp] [βcollection COLLECTION] [βtemplate TEMPLATE] <entry>
π DESCRIPTION π
lesana show prints an entry to stdout. and by "an entry" we mean the one you point at with an id β or honestly just a partial id, because she's flexible like that. π
and listen, if you want it to look cute and not just be a wall of raw data? you can hand her a template with --template <template> and she will pretty print those entries for you. it's giving glow-up. β¨
π OPTIONS π
-h,--helpβ prints a help message and exits. she's helpful, she's brief, she's gone. π«Ά--collection COLLECTION,-c COLLECTIONβ the collection you wanna work on. the default is.β yes, literally just the current directory, she's low maintenance. π--template TEMPLATE,-t TEMPLATEβ use the template you specify to display the results. make it cute, make it yours. π
π§ TEMPLATES π§
okay so the templates that lesana show uses are jinja2 templates. no cap.
the entry fields are available as variables β so you can just reach for them by name. π
and the full entry is available as the variable entry, which is your cheat code for fields whose names aren't valid jinja2 variables. in that case you get to them like this:
entry.data[<field-name>]
see? entry.data[<field-name>], all lowercase, brackets and all. the way that just works. ππ
π AUTHOR π
valhalla@trueelena.org
β COPYRIGHT β
2020-2021, Elena Grandi
and that's the whole page, bestie!! π
version 0.10, dated Jan 29, 2025, from the LESANA-SHOW(1) manual β ily, go show some entries πβ¨
π¦ where this page comes from
- debian trixie: lesana 0.10.1-3 Β· GPL-3.0-or-later
- ubuntu questing: lesana 0.10.1-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms