Auto Cli#

Wrappers for generating CLI functions from PETPAL callable objects

Classes#

ParseKwargs

Action to parse keyword arguments.

PetpalLogging

Tool for logging CLI commands.

Functions#

camel_to_kebab_case(→ str)

Convert a string in camel case to kebab case.

args_kwargs_to_dictionary(→ dict)

Convert Namespace to dictionary and reassign keyword arguments to dictionary values.

type_identifier(→ tuple)

Identify the locator, number of arguments, and default value for the argument type.

auto_cli(petpal_class)

Generate a command line interface for a PETPAL function