Module args

Source
Expand description

A submodule for handling the arguments passed to the program

Structsยง

Args
The arguments to the program.
SaveFileNameCompletion ๐Ÿ”’
A [Completion] struct for save file names, that also acts as a list of save files in the current directory.

Enumsยง

InvalidPath ๐Ÿ”’

Constantsยง

CK3_EXTENSION ๐Ÿ”’
LANGUAGES ๐Ÿ”’
The languages supported by the game.

Functionsยง

parse_lang_arg ๐Ÿ”’
A function to parse the language argument.
parse_path_arg ๐Ÿ”’
A function to parse the path argument.
validate_dir_path ๐Ÿ”’
A function to validate the path input.
validate_file_path ๐Ÿ”’
A function to validate the file path input.