gmni(1)

πŸ“¦
version 1.0 Β· 2 versions
, in alpine 3.24

πŸ’… gmni(1) πŸ’…

okay so bestie, this is gmni(1), straight outta the General Commands Manual β€” Gemini client energy, no cap. tiny command, main character vibes. ✨


πŸ¦‹ NAME πŸ¦‹

gmni - Gemini client. periodt. πŸ’–

✨ SYNPOSIS ✨

gmni [-46lLiIN] [-j mode] [-E path] [-d input] [-D path] gemini://...

πŸŽ€ DESCRIPTION πŸŽ€

gmni executes a gemini request and, if successful, prints the response body to stdout. slay.

If an error is returned, information is printed to stderr and the process exits with a non-zero exit status equal to the response status. yes, the exit status is literally the response status β€” iykyk.

If a response is returned which is neither successful or an error, the response status and meta text are printed to stderr. πŸ‘€

If the server requests user input, a prompt is shown and a second request is performed with the user's input supplied to the server. cute, interactive, iconic. 🫢

🌸 OPTIONS 🌸

  • -4 β€” Force the connection to use IPv4. no cap, IPv4 only. πŸ’…
  • -6 β€” Force the connection to use IPv6. same energy, but v6. 🌈
  • -d input β€” If the server requests user input, a second request is performed with the given input string as the user input. you supply the tea. πŸ’¬
  • -D path β€” If the server requests user input, path is opened and read, and a second request is performed with the contents of path as the user input. file-based bestie behavior. πŸ“„
  • -E path:key β€” Sets the path to the client certificate and private key file to use; both are PEM encoded. secure lil vibes. πŸ”
  • -l β€” For text/* responses, gmni normally adds a line feed if stdout is a TTY and the response body does not include one. This flag suppresses this behavior. no extra newline, thank you. πŸ’…
  • -L β€” Follow redirects. chase the link, bestie. πŸ”
  • -j mode β€” Sets the TOFU (trust on first use) configuration, which controls if the client shall trust new certificates. mode can be one of always, once, or fail. trust issues, but configured. ✨
  • -i β€” Print the response status and meta text to stdout. status tea, served fresh. πŸ‘€
  • -I β€” Print the response status and meta text to stdout, and suppress the printing of the response body to stdout. status only, body stays quiet. 🀫
  • -N β€” Suppress the input prompt if the server requests an input, and instead print a diagnostic message and exit with a zero (successful) status code. no prompt, just a lil message and a successful exit. 🫢
  • -o path β€” Write output to path. If path ends with a /, the basename of the URL will be appended. If path is the empty string, "./" will be presumed. choose your output destiny. πŸ“

okay that's the whole manual, bestie πŸ’– this page is dated 2024-10-12 and lives in gmni(1). go be a Gemini main character ✨

πŸ“¦ where this page comes from