class Amber::Recipes::Controller

Included Modules

Defined in:

amber/cli/recipes/controller.cr

Constructors

Instance Method Summary

Instance methods inherited from module Amber::Recipes::FileEntries

collect_files(files) collect_files, each_file(absolute_path, filename, entry, &block : String, String -> )
each_file(absolute_path, filename, &block : String, String -> )
each_file
, file_entries : Array(Teeplate::AsDataEntry) file_entries, pack_blob(files, absolute_path, filename) pack_blob, pack_liquid(files, absolute_path, filename) pack_liquid

Instance methods inherited from module Amber::CLI::Helpers

add_dependencies(dependencies) add_dependencies, add_plugs(pipeline, plug) add_plugs, add_routes(pipeline, route) add_routes

Class methods inherited from module Amber::CLI::Helpers

run(command, wait = true, shell = true) run

Instance methods inherited from class Teeplate::FileTree

class_name class_name, display_name display_name, display_name_plural display_name_plural, filter(entries) filter, name_plural name_plural, render(out_dir, force : Bool = false, interactive : Bool = false, interact : Bool = false, list : Bool = false, color : Bool = false, per_entry : Bool = false, quit : Bool = true) render

Constructor Detail

def self.new(name : String, recipe : String, actions) #

[View source]

Instance Method Detail

def add_views #

[View source]
def language : String #

[View source]
def parse_actions(actions) #

[View source]
def set_context(ctx) #

setup the Liquid context


[View source]
def template : String? #

[View source]