CLI
CLI wrapper module. Responsible for implementation of interaction with internal core.
Utils
CLI wrapper small utils.
-
no_args(ctx)[source]
Prints help message when no arguments provided.
- Return type:
None
-
check_feature_unsupported(user_formats, unsupported_formats, feature)[source]
Checks that user formats contain unsupported feature.
- Return type:
None
-
is_supported(path)[source]
Checks that file is supported (by suffix).
- Return type:
bool
-
paths_to_files_map(paths)[source]
Maps parent directories to their supported files.
- Return type:
Iterator[Tuple[Path, Path]]
-
output_to_destination(root, source, output, relative, parent)[source]
Output path with source relative subdirectory appended if relative flag.
- Return type:
Optional[Path]