LESANA-INIT(1)
β¨ LESANA-INIT β¨
okay bestie, buckle up β this is the lesana-init manual page, aka the glow-up starter pack for a brand new lesana collection π
πΈ NAME πΈ
lesana-init β the little command that initializes a lesana collection, no cap π
π¦ SYNOPSIS π¦
lesana init [βhelp] [βcollection <collection>] [βno-git]
π DESCRIPTION π
so like, lesana init is the moment where a fresh new lesana collection is born. iconic behavior honestly. π
It creates the directory (yes, even if it does not exist yet β it just makes it, main character energy) and then, unless --no-git is specified, it will:
- initialize that directory as a git repository,
- create a
.gitignorefile with some relevant contents, and - add hooks to update the local cache whenever the files are changed via git.
Then it creates a skeleton settings.yaml file and opens it up in an editor so you can start configuring the collection. yes you literally get to sit there and customize your lil setup π«Ά
When you leave the editor, again unless --no-git is used, it will add this file to the git staging area β but not commit it. it's giving "staged, not shipped" π
β real talk though: it is safe to run this command on an existing repository, e.g. to install the hooks on a new clone. BUT β and this is the important bit β it will overwrite the hooks themselves even if they have been changed by the user. so like, heads up, your custom hook edits are getting ate. π
π OPTIONS π
--help,-hβ prints an help message and exits. that's it, that's the whole vibe. β¨--collection COLLECTION,-c COLLECTIONβ the directory where the collection will be initialized. the default is.(yes, just a dot β current directory, we love a low-effort default). π--no-gitβ do not use git in the current collection. no repo, no hooks, no staging, just vibes. π
π AUTHOR π
valhalla@trueelena.org
π COPYRIGHT π
2020-2021, Elena Grandi
and that's the whole page bestie!! this was version 0.10, dated Jan 29, 2025 β go forth and init something beautiful ππΈβ¨π¦
π¦ 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