class Launch::CLI::Scaffold
Defined in:
launch/cli/generators/scaffold.cr
Constructors
Instance Method Summary
add_timestamp_fields
add_timestamp_fields,
config : Launch::CLI::Config
config,
config=(config : Launch::CLI::Config)
config=,
fields : Array(Field)
fields,
fields=(fields : Array(Field))
fields=,
fields_hash : Hash(String, String)
fields_hash,
fields_hash=(fields_hash : Hash(String, String))
fields_hash=,
filter(entries)
filter,
name : String
name,
name=(name : String)
name=,
post_render(directory, **args)
post_render,
pre_render(directory, **args)
pre_render,
render(directory, **args)
render,
table_name : String | Nil
table_name,
table_name=(table_name : String | Nil)
table_name=,
timestamp : String
timestamp,
timestamp=(timestamp : String)
timestamp=
new(name : String, params)
new
registered_commands
registered_commands
add_dependencies(dependencies)
add_dependencies,
add_plugs(pipeline, plug)
add_plugs,
add_routes(pipeline, route)
add_routes,
add_static_routes
add_static_routes
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
Instance methods inherited from class Object
blank?
blank?,
present?
present?
Constructor Detail
def self.
new(name, fields)
#
Instance Method Detail
def
render(directory, **args)
#