module

Encoders

Instance methods

categories

Return all unique categories.

Source
categories_json

JSON: list categories with their encoders.

Source
describe_json(name : String) : String | Nil

JSON: describe a single encoder by name.

Source
encode_chain(str, encoders : Array(String)) : String

Apply a chain of encoders (processes from last to first).

Source
encode_chain_steps(str, encoders : Array(String)) : Array(NamedTuple(encoder: String, output: String))

Apply a chain and return step-by-step results (for --chain-info).

Source
find(name : String) : EncoderSpec | Nil

Lookup a spec by any name or alias (case-insensitive).

Source
help_lines

Produce lines suited for help output.

Source
register(spec : EncoderSpec)

Register a new encoder specification. If a name/alias already exists it will be overwritten by this spec.

Source
search(keyword : String) : Array(EncoderSpec)

Search encoders by keyword (matches name, aliases, description, category).

Source
specs

Return all registered specs (in registration order).

Source
to_json_array

JSON: list all encoders.

Source