cli#
Automagic generation of a Typer script for all dataset downloads.
- irdl.cli._display_dataset(dataset_class: type) None#
Display a single dataset with its description and DOI.
- irdl.cli._get_dataset_description(dataset_class: type) str#
Get the first line of a dataset class’s docstring.
- irdl.cli._make_wrapper(cls, method, params, help_text, dataset_name, param_docs)#
- irdl.cli.app = <typer.main.Typer object>#
Typer app that can be invoked by calling
irdlfrom the CLI.
- irdl.cli.cache_callback(ctx: Context, cache_dir: Path | None = <typer.models.OptionInfo object>) None#
Cache command callback to handle common options.
- irdl.cli.cache_prune_command(ctx: Context) int#
Remove unreachable cache items for known datasets only.
Only processes datasets registered in the current IRDL version. Unknown directories in the cache are left untouched.