FLENGDOC(1)

πŸ“¦ version 23, in nixos 26.05, nixpkgs unstable

🌈 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.
  • -db DIRECTORY β€” Specify the database to be populated or searched; it defaults to DOC in 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 -o option. The generated output uses some very basic markdown formatting β€” cute but lowkey basic.
  • -o FILENAME β€” Specify an alternative output file.
  • -m KEYWORD ... β€” Search for index entries in which one or more of the given keywords occur.
  • -index β€” Write a sorted index of all entries to stdout.
  • -merge DIRECTORY β€” Merge the database in DIRECTORY into the destination database.
  • -map FROM 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.
  • m WORD β€” Show entries matching WORD.
  • ? β€” 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 to FLENGDOC_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 🌈

fleng(1) flengdoc(7) less(1)

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