SHTK_CLI_INFO(3)

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

πŸ’– SHTK_CLI_INFO(3) β€” Library Functions Manual πŸ’–

okay so bestie, this is the shtk_cli_info page from the Library Functions Manual. It’s giving β€œtiny helper, big communication energy” β€” let’s get into it. 🫢

🌸 NAME 🌸

shtk_cli_info β€” prints an informational message. That’s the whole job and it eats. πŸ’…

πŸ“š LIBRARY πŸ“š

shtk_import cli

✨ SYNOPSIS ✨

shtk_cli_info message1 [.. messageN]

πŸ’… DESCRIPTION πŸ’…

The shtk_cli_info function prints the given informational message to stderr. No cap, it’s going to the error stream on purpose.

You can hand it the message as one or more arguments β€” that’s message1 to messageN, bestie β€” and every argument gets concatenated together into a single line. One line, all the vibes, zero chaos. ✨

The printed message has this exact form, where progname is determined by shtk_cli_progname(3):

progname: I: message1 .. messageN

Use shtk_cli_info to report script execution progress to the user instead of relying on simple echo(1) calls. This is the whole point: it makes sure all log messages are properly sent to stderr. So yeah, use the function, not random echo energy. πŸ¦‹

πŸ” SEE ALSO πŸ”

πŸ•°οΈ HISTORY πŸ•°οΈ

shtk_cli_info first appeared in shtk 1.0. Iconic from the start, obviously. πŸ‘‘


okay bye bestie πŸ’– this page is from Debian, dated November 5, 2014, and the footer signature is SHTK_CLI_INFO(3). Mwah. πŸ’‹

πŸ“¦ where this page comes from