lit_sb3.utils.cli
source module lit_sb3.utils.cli
Command-line interface argument parsing helpers.
Classes
-
StoreDict — Custom
argparseaction for storing key-value pairs in a dict.
source class StoreDict(option_strings: list[str], dest: str, nargs: str = '+', **kwargs: Any)
Bases : argparse.Action
Custom argparse action for storing key-value pairs in a dict.
Enables key1:val1 key2:val2 syntax on the CLI.
Numeric strings are auto-converted to int or float.
Comma-separated values become lists.