WIKIT(1)

πŸ“¦ version 4.4-unstable-2022-10, in nixos 26.05, nixpkgs unstable

πŸ’… wikit(1) β€” the wikit manual, general commands edition

okay so bestie, welcome to wikit(1) β€” this is the General Commands Manual page for wikit, and it's genuinely about to make your terminal life so much cuter. sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

wikit β€” wikipedia summaries from the command line, no browser tab chaos required πŸ’–


🌸 SYNOPSIS 🌸

wikit <QUERY> [-abdD] [--link] [--lang <LANG>] [--browser <BROWSER>]
[--line <NUM>]

πŸ¦‹ DESCRIPTION πŸ¦‹

wikit is the tool for quickly querying wikipedia straight from your terminal. that's the whole vibe. you type, it answers, you move on with your iconic life ✨


πŸŽ€ OPTIONS πŸŽ€

okay first things first: quotes are recommended, though not required, if QUERY consists of multiple words. like, it'll probably be fine, but quotes are the safe slay 🫢

here's the available flags menu:

  • -a, --all β€” prints all sections of the article. lowkey the move here is to pipe it into a reader, e.g. less β€” highly recommended, do it πŸ’…
  • -b β€” opens the wikipedia article in your default browser πŸ¦‹
  • -d β€” opens the disambiguation CLI menu. yes, that's a thing, and it's kind of main character energy ngl
  • -D β€” opens the disambiguation page in your browser instead 🌈
  • --link β€” prints a link to the full article after the summary. perfect for when you need receipts πŸ”₯
  • --l, --lang <LANG> β€” specifies the language; LANG is an HTML ISO language code 🌍
  • --browser <BROWSER> β€” opens the article in that specific BROWSER πŸ‘‘
  • --line <NUM> β€” sets the line wrap length to NUM, with a minimum of 15 ⭐
  • -v, --version β€” prints the installed version number, for the curious girlies πŸ™ˆ
  • -n, --name β€” prints the program name: wikit. that's it. that's the whole job 😭

🧚 CONFIGURATION 🧚

wanna change the default language? no cap, just edit:

~/.config/configstore/wikit.json

and you're set, bestie πŸ’œ


⭐ EXIT STATUS ⭐

wikit exits with an exit code of 0 β€” the good ending πŸ’– β€” unless one of the following happens, in which case it'll exit with a 1 πŸ’€:

  • the language code you provided is unrecognized
  • the line length you provided is invalid
  • there were no arguments passed at all (you gotta give it something, babe 😭)

fr fr, that's the whole page. go forth and query ✨

and that's a wrap! this beauty is from Debian, dated $wikitdate$, and it's your very own wikit(1) page πŸŽ€ catch you in the group chat, mwah πŸ’‹

πŸ“¦ where this page comes from