A command-line utility powered by Cuprum that provides tools and utilities for defining command-line tools.
Namespace for commands that process raw templates into file contents.
ERB
= 'cuprum.cli.files.engines.erb'
Identifier for ERB files.
.fetch(engine) => Cuprum::Command.fetch(engine, default) => Cuprum::Command.fetch(engine) { |engine| } => Cuprum::Command.fetch(engine) => Cuprum::Command
Retrieves the render command for the given engine.
.fetch(engine, default) => Cuprum::Command
Retrieves the render command for the given engine.
.fetch(engine) { |engine| } => Cuprum::Command
Retrieves the render command for the given engine.
If there is no matching engine. calls the block with the given engine.
.register(engine, render_command) => void
Registers a render command for the specified engine.
Back to Documentation | Versions | 0.2 | Reference | Cuprum | Cuprum::Cli | Cuprum::Cli::Files