2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-31 10:43:22 +00:00

docs: add docs for nature module

This commit is contained in:
TorchedSammy 2022-04-24 00:00:18 -04:00
parent 4a4c4d8c74
commit 4e5f8b5c80
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

13
docs/nature.txt Normal file
View File

@ -0,0 +1,13 @@
A bit after creation, we have the outside nature. Little plants, seeds,
growing to their final phase: a full plant. A lot of Hilbish itself is
written in Go, but there are parts made in Lua, being the `doc` command,
command not executable/found hooks to print a message in the shell,
and other things.
Hilbish's Lua core module is called `nature`. It's handled after everything
on the Go side initializes, which is what that first sentence was from.
# Nature Modules
Currently, `nature` provides 1 intended public module: `nature.dirs`.
It is a simple API for managing recent directories and old
current working directory.