FLENGDOC(1)
π FLENGDOC(1) π
okay bestie, welcome to FLENGDOC(1) from the General Commands Manual β this is the page for the FLENG documentation tool, and it's lowkey iconic. Let's get into it π
πΈ NAME πΈ
flengdoc β A documentation tool for FLENG
β¨ SYNOPSIS β¨
flengdoc [OPTION] [ARGUMENT ...]
π DESCRIPTION π
flengdoc is a tool that creates reference documentation for FLENG libraries and searches the database for keywords. It's giving "docs bestie" energy fr fr.
Okay so OPTION should be one of the following, no cap:
-hβ Show usage information and exit. Bye π--versionβ Show FLENG system version and exit.-qβ Omit diagnostic output during database creation. Quiet mode, but make it cute.-cβ Create a new database or amend an existing one from the text and source files given on the command line.-dbDIRECTORY β Specify the database to be populated or searched; it defaults toDOCin the current directory.-i-KEYWORDβ Read text from stdin and create a database entry for the given keyword.-xβ Extract documentation from the given text and source code files, then write it all to standard output or to the filename specified by the-ooption. The generated output uses some very basic markdown formatting β cute but lowkey basic.-oFILENAME β Specify an alternative output file.-mKEYWORD ... β Search for index entries in which one or more of the given keywords occur.-indexβ Write a sorted index of all entries to stdout.-mergeDIRECTORY β Merge the database in DIRECTORY into the destination database.-mapFROM TO β Use module name TO for any parsed file with a basename of FROM.
If no options are given, then the database will be searched for the keywords given on the command line, which may name modules, primitives or library predicates β¨
If running inside a terminal and the information would not fit into the current window, output is redirected to a pager where the name of the paging program is taken from the environment variable FLENGDOC_PAGER or PAGER; otherwise the pager defaults to less(1) π«Ά
If no keywords are given, the interactive mode is entered.
π¦ INTERACTIVE MODE π¦
In interactive mode, search keywords are read from standard input (one per line) and the results shown. The following commands perform special operations:
qβ Exit.mWORDβ Show entries matchingWORD.?β Show this page.
π ENVIRONMENT π
The following environment variables change the behaviour of flengdoc:
FLENG_PREFIXβ Contains the directory where the default database is located. If this variable is not set, the files are located in the path specified during installation.FLENGDOC_PAGERβ Holds the name of a pager that should be used to show documentation if running inside a terminal.PAGERβ Alternative toFLENGDOC_PAGER.
π₯ EXIT STATUS π₯
The flengdoc utility exits 0 on success, and >0 if an error occurs. Slay when it works, check the code when it doesn't π
π SEE ALSO π
More information can be found in the User's Manual and at http://www.call-with-current-continuation.org/fleng/fleng.html π
π AUTHORS π
Felix L. Winkelmann
π BUGS π
Submit bug reports by e-mail to felix@call-with-current-continuation.org π§
This page came from Debian, dated Dec 20, 2022 β k bye bestie, go document something gorgeous π«Άπ
π¦ where this page comes from
- nixos 26.05: fleng 23
- nixpkgs unstable: fleng 23
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms