abstract class Teeplate::FileTree
- Teeplate::FileTree
- Reference
- Object
Overview
Collects template files from a local directory.
Direct Known Subclasses
- Amber::CLI::App
- Amber::CLI::Generator
- Amber::Plugins::Installer
- Amber::Recipes::App
- Amber::Recipes::Controller
- Amber::Recipes::Model
- Amber::Recipes::Scaffold::Controller
- Amber::Recipes::Scaffold::View
Defined in:
lib/teeplate/src/lib/file_tree.cramber/cli/generators.cr
amber/cli/plugins/installer.cr
amber/cli/recipes/recipe.cr
Instance Method Summary
- #class_name
- #display_name
- #display_name_plural
-
#filter(entries)
Override to filter files rendered
- #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)
Renders all collected file entries.
Instance Method Detail
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
.