class Amber::Recipes::App
- Amber::Recipes::App
- Teeplate::FileTree
- Reference
- Object
Included Modules
Defined in:
amber_cli/recipes/app.crConstructors
- .new(name : String, database : String = "pg", language : String = "slang", recipe : String = "base")
Instance Method Summary
- #database_name_base : String
- #fetch_author
- #fetch_email
- #fetch_github_name
- #fetch_recipe(directory)
-
#filter(entries)
Override to filter files rendered
- #isa_view?(entry_path)
- #recipe : String
-
#set_context(ctx)
setup the Liquid context
- #template : String?
- #which_git_command
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 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, database : String = "pg", language : String = "slang", recipe : String = "base")
#
Instance Method Detail
def filter(entries)
#
Description copied from class Teeplate::FileTree
Override to filter files rendered