Skip to content
generated from pforret/bashew

Wordle (bash/CLI) with variable # of letters and multiple languages

License

Notifications You must be signed in to change notification settings

pforret/shwordle

Repository files navigation

Shellcheck CI GH Language GH stars GH tag GH License basher install

shwordle

CLI version of Wordle with choice of # letters and choice of langauge

🔥 Usage

Program: shwordle 0.1.8 by peter@forret.com
Updated: Feb  5 14:43:26 2022
Description: CLI Wordle
Usage: shwordle [-h] [-q] [-v] [-f] [-l <log_dir>] [-t <tmp_dir>] [-e <letters>] [-g <guesses>] [-u <language>] <action>
Flags, options and parameters:
    -h|--help        : [flag] show usage [default: off]
    -q|--quiet       : [flag] no output [default: off]
    -v|--verbose     : [flag] output more [default: off]
    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]
    -l|--log_dir <?> : [option] folder for log files   [default: /Users/pforret/log/shwordle]
    -t|--tmp_dir <?> : [option] folder for temp files  [default: /tmp/shwordle]
    -e|--letters <?> : [option] word length  [default: 5]
    -g|--guesses <?> : [option] allowed guesses  [default: 6]
    -u|--language <?>: [option] word language  [default: en-us]
    <action>         : [parameter] action to perform: play/options

⚡️ Examples

> shwordle play
# start Shwordle with default options

>shwordle -e 4 play
# start Showrdle with 4 letter word

>shwordle -u nl play
# start Shwordle with Dutch words

> ./shwordle options
✅  use -e | --letters to choose word length (default: 6)
✅  use -u | --language to choose dictionary (default: en)
   available languages: 
   * en-us:     3218 words
   * es-es:      949 words
   * fr-fr:     2448 words
   * nl-nl:     2422 words

🚀 Installation

with basher

$ basher install pforret/shwordle

or with git

$ git clone https://github.com/pforret/shwordle.git
$ cd shwordle

📝 Acknowledgements

© 2022 Peter Forret

About

Wordle (bash/CLI) with variable # of letters and multiple languages

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages