chewing-cl...it-database(1)

πŸ’– chewing-cli-init-database πŸ’–

okay bestie, so this is a page from the General Commands Manual β€” the chewing-cli-init-database(1) one β€” and it's literally all about spinning up a brand new dictionary file from scratch. no cap. let's get into it πŸ¦‹


✨ NAME ✨

chewing-cli-init-database</purgle> β€” create a new dictionary file

(yeah that's it, that's the whole job, and she does it flawlessly πŸ’…)


✨ SYNOPSIS ✨

chewing-cli init-database [-t|--db-type] [-n|--name] [-c|--copyright]
[-l|--license] [-r|--version] [-u|--usage] [-s|--skip-invalid] [--fix]
[--csv] [-h|--help] <TSI_SRC> <OUTPUT>

look at her. so many lil flags. main character energy fr fr πŸ‘‘


✨ DESCRIPTION ✨

Create a new dictionary file πŸŽ€

that's the vibe. you feed it a source, it hands you a shiny new dictionary file. iconic behavior.


✨ OPTIONS ✨

  • -t, --db-type <DB_TYPE> β€” pick which database implementation is holding it down underneath. default: trie 🌸

the possible values are, and listen closely:

  • trie
  • sqlite
  • -n, --name <NAME> β€” the name of your phrase dictionary. default: ζˆ‘ηš„θ©žεΊ« 🫢
  • -c, --copyright <COPYRIGHT> β€” the copyright info for the dictionary. default: Unknown πŸ“
  • -l, --license <LICENSE> β€” the license info for the dictionary. default: Unknown βš–οΈ
  • -r, --version <VERSION> β€” the version of the dictionary. default: 1.0.0 ⭐
  • -u, --usage <USAGE> β€” what kind of usage type the dictionary is. default: unknown πŸ’œ
  • -s, --skip-invalid β€” skip invalid lines. just… let them go. not every line deserves your energy bestie πŸ™ˆ
  • --fix β€” attempt to fix simple spelling errors. she's a lil helpful like that ✨
  • --csv β€” read the dictionary source as CSV with header. yes, the header is required, don't @ me πŸ“
  • -h, --help β€” print help. your bestie when you're lost 🧚
  • <TSI_SRC> β€” the path to the dictionary source file πŸ“‚
  • <OUTPUT> β€” the path to the output file. this is where your new lil dictionary baby gets born πŸŽ€

okay so real talk: <TSI_SRC> and <OUTPUT> are both required, and if you forget one the command is gonna be like "girl." so don't forget them πŸ’€

and that's the whole page, bestie!! this one came from the General Commands Manual, page init-database, sitting pretty at chewing-cl...it-database(1) β€” go make a dictionary, you got this πŸ‘‘πŸ’–πŸŒˆ

πŸ“¦ where this page comes from