rattail.features.handlers

Handler for Generating Features

class rattail.features.handlers.FeatureHandler(*args, **kwargs)[source]

Base class for feature handlers.

all_feature_types()[source]

Returns a list of available feature type keys.

all_features()[source]

Returns a dict of available features, which are registered via setuptools entry points.

do_generate(feature, **kwargs)[source]

Generate code and instructions for new feature.

get_feature(key)[source]

Returns the specific feature identified by type key.

iter_features()[source]

Iterate over all features.