LESANA-SHOW(1)

πŸ“¦
version 0.10.1 Β· 5 versions
, in debian trixie, ubuntu questing

πŸ’– 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


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