API Reference Shapt v0.1.0

Modules

Use this to create your own feature toggle worker as in the example

A behaviour that defines the basic callbacks that a Shapt Adapter needs to implement. This callbacks are just the very basic behavior that an adapter might have.

An adapter to load toggle state from environment variables or an env file.

This plug provides two endpoints

Mix Tasks

Prints help info for Shapt tasks. Doesn't accept parameters.

This task verify if the toggles of the informed Module is expired. Parameters

This task output the template of a configuration for a Module. The template type is defined by the Adapter configured in the module. Parameters