jgdv.cli.builder_mixin

Functions

_remap_type(data)

Get a specific type of parameter, using provided data

Classes

ParamSpecMaker_m

Module Contents

jgdv.cli.builder_mixin._remap_type(data) <Unknown>[source]

Get a specific type of parameter, using provided data

needs to handle: - using separator, prefix and type to select toggle/key/assign/positional - TODO using type to select toggle, literal - TODO using count to select repeatable - TODO using choice to select choice params

Parameters:

data (dict)

Return type:

type

class jgdv.cli.builder_mixin.ParamSpecMaker_m[source]
static build_param(**kwargs) <Unknown>[source]

Utility method for easily making paramspecs

Parameters:

kwargs (Any)

Return type:

jgdv.cli.param_spec.ParamSpec