Home

Awesome

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