literate_wordle.cli

Command line entrypoint for pywordle

Module Contents

Functions

parse_args(raw_args: Optional[Sequence[str]] = None) → argparse.Namespace

Parse given command line arguments

play_game_args(raw_args: Optional[Sequence[str]] = None)

Play a standard Wordle game from stdin to stdout, given args

main()

Pass sys.argv to the play_game_args function

literate_wordle.cli.parse_args(raw_args: Optional[Sequence[str]] = None) argparse.Namespace[source]

Parse given command line arguments

literate_wordle.cli.play_game_args(raw_args: Optional[Sequence[str]] = None)[source]

Play a standard Wordle game from stdin to stdout, given args

literate_wordle.cli.main()[source]

Pass sys.argv to the play_game_args function