abstract class Teeplate::FileTree

Overview

Collects template files from a local directory.

Direct Known Subclasses

Defined in:

lib/teeplate/src/lib/file_tree.cr
amber/cli/generators.cr
amber/cli/plugins/installer.cr
amber/cli/recipes/recipe.cr

Instance Method Summary

Instance Method Detail

def class_name #

[View source]
def display_name #

[View source]
def display_name_plural #

[View source]
def filter(entries) #

Override to filter files rendered


[View source]
def name_plural #

[View source]
def 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) #

Renders all collected file entries.

For more information about the arguments, see Renderer.


[View source]