AzuCLI::Generate::Template
Inherits Teeplate::FileTree < Reference < Object
Inner class for generating Jinja2 HTML templates
Constants
OUTPUT_DIR = "./public/templates"
Constructors
new(name : String, fields : Hash(String, String), action : String, module_name : String = "App")
SourceInstance methods
__ecr0(____io)
Source__ecr2(____io)
Source__ecr4(____io)
Source__ecr6(____io)
Source__ecr8(____io)
Sourceaction
Sourceaction=(action : String)
Sourcefields
Sourcefields=(fields : Hash(String, String))
Sourcemodule_name
Sourcemodule_name=(module_name : String)
Sourcemodule_path
Sourcemodule_path=(module_path : String)
Sourcename
Sourcename=(name : String)
Sourcerender(output_dir : String, force : Bool = false, interactive : Bool = true, list : Bool = false, color : Bool = false)
Override render to create proper directory structure
resource
Sourceresource=(resource : String)
Sourceresource_plural
Sourceresource_plural=(resource_plural : String)
Sourceresource_singular
Sourceresource_singular=(resource_singular : String)
Sourcesnake_case_name
Sourcesnake_case_name=(snake_case_name : String)
Source