GRANULE(6)

πŸŽ€ GRANULE πŸŽ€

okay bestie, welcome to the granule manual page β€” that's a User Commands page, section 6 if you're keeping score πŸ’…


✨ NAME ✨

granule β€” a flashcards program. that's it. that's the whole name. short, sweet, iconic πŸ’–


🌸 DESCRIPTION 🌸

So Granule is a flashcard program that implements the Leitner cardfile methodology for learning new words. no cap, that's the actual method, and it goes HARD.

The way it works, it's giving you both short-term and long-term memory training capabilities, and it's got scheduling on top. so basically it's not just a deck of cards, it's a whole study plan that remembers what you're bad at. main character energy fr fr 🧚


πŸ’« USAGE πŸ’«

granule [OPTIONS]

like, that's the whole vibe. options in, brain gains out. periodt ✨


πŸ‘‘ OPTIONS πŸ‘‘

okay this is the part where we go one by one, no skipping, no summarizing, because every single one matters. buckle up πŸŽ€

  • -D, --log-file=NAME β€” write debug output to the file called NAME. yes, debug goes in a FILE, not your terminal, we're being tidy πŸ’…
  • -z, --log-size=NUM β€” the maximum size your debug file is allowed to reach. and the default is 10Mb, so like, once it hits ten megs it stops growing. your disk said thank you 🫢
  • --config-file=NAME β€” point Granule at a different config file. important: it wants a fully-qualified path, so give it the whole thing, not just the filename. it's not gonna go hunting for it, bestie 😭
  • -d, --log-stdout=YESNO β€” write debug to standard output instead. classic. YESNO means you literally pass a yes/no value. it's giving very literal.
  • --with-log-server=YESNO β€” redirect your log messages to the log server. again with the YESNO, she's consistent πŸ’œ
  • --log-server=NAME β€” define the assa-logd server address. that's the log server daemon, iykyk.
  • -c, --log-level=NUM β€” log verbosity, as a number. how much do you want her to talk? pick a number.
  • -m, --mask=MASK β€” the mask. default is 0x0, and all of them together is 0x7fffffff. this is the switchboard for what actually gets logged πŸ‘‘

so here's the whole mask menu, and yes we're listing every single bit because that's the rules:

  • 0x00000001 β€” (TRACE) β€” dependencies trace.
  • 0x00000002 β€” (GRAPP) β€” log general program flow.
  • 0x00000004 β€” (GUITRACE) β€” log every function entry/leave.
  • 0x00000008 β€” (DECK) β€” log Deck-related operations.
  • 0x00000010 β€” (GEOM) β€” log geometry changes.
  • 0x00000020 β€” (ERROR) β€” general errors.
  • 0x02000000 β€” (KEYIN) β€” log keyboard input activitiy. (that's spelled exactly like that in the source, we don't fix, we report πŸ™ˆ)
  • 0x04000000 β€” (CSVPARSER) β€” CSV parser.
  • 0x08000000 β€” (VERIFY) β€” answer Verification control.
  • --secs-in-day=NUM β€” the number of seconds in a day. yes, a day. yes, it's NUM. and no, this is used for debugging, so don't come for her 🌈
  • --secs-in-week=NUM β€” same thing but for a week. also NUM, also used for debugging. consistency queen ⭐
  • --dump-cardboxes=YESNO β€” dumps the content of each cardbox to a file, cardbox{1..5}.dat, and it does this after every card movement. every. single. one. YESNO again πŸ’€
  • --gtk-options=OPTIONS β€” a list of Gtk+ options to pass on. for example:
    • --g-fatal-warnings β€” make all warnings fatal.
    • --disable-crash-dialog β€” when the application crashes, suppress the GNOME crash dialog.

(those two are the examples she gives, exactly as written πŸ”₯)

  • -h, --help β€” print this message. hi, that's the one you're reading πŸ’–
  • -v, --version β€” print the version number. cute, quick, slay.

πŸ¦‹ AUTHOR πŸ¦‹

Written by Vladislav Grinchenko. shoutout, legend, thank you for the flashcards πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

The full documentation for granule is maintained at sourceforge in a variety of formats.

http://sourceforge.net/projects/granule/files/Documentation/All/

like, go read it, it's right there 🫢


okay so real talk for one sec: this page is from granule, dated January 2015, and it lives in section GRANULE(6). that's the source/version and the date, folded into a cute little sign-off instead of a boring footer line. you're welcome πŸ’…βœ¨
πŸ“¦ where this page comes from