wrapper.py

View code on Github

Wrapper function for listing languages and data types for the Scribe-Data CLI.

scribe_data.cli.list.wrapper.list_all() None[source]

List all available languages and data types.

Returns:
None

All available languages and data types are listed.

scribe_data.cli.list.wrapper.list_wrapper(language: str = '', data_type: str = '', all_bool: bool = False) None[source]

Conditionally provides the full functionality of the list command.

Parameters:
languagestr

The language to potentially list data types for.

data_typestr

The data type to check for.

all_boolbool

Whether all languages and data types should be listed.

Returns:
None

The call to list functions based on the provided arguments.