abstract class Launch::CLI::Generator
- Launch::CLI::Generator
- Teeplate::FileTree
- Reference
- Object
Included Modules
Direct Known Subclasses
- Launch::CLI::Controller
- Launch::CLI::ErrorTemplate
- Launch::CLI::Mailer
- Launch::CLI::Migration
- Launch::CLI::Model
- Launch::CLI::Scaffold
- Launch::CLI::ScaffoldPage
- Launch::CLI::WebSocket
- Launch::CLI::WebSocketChannel
Defined in:
launch/cli/generators/generator.crConstructors
Class Method Summary
Instance Method Summary
- #add_timestamp_fields
- #config : Launch::CLI::Config
- #config=(config : Launch::CLI::Config)
- #fields : Array(Field)
- #fields=(fields : Array(Field))
- #fields_hash : Hash(String, String)
- #fields_hash=(fields_hash : Hash(String, String))
-
#filter(entries)
Override to filter files rendered
- #name : String
- #name=(name : String)
- #post_render(directory, **args)
- #pre_render(directory, **args)
- #render(directory, **args)
- #table_name : String | Nil
- #table_name=(table_name : String | Nil)
- #timestamp : String
- #timestamp=(timestamp : String)
Macro Summary
Instance methods inherited from module Launch::CLI::Helpers
add_dependencies(dependencies)
add_dependencies,
add_plugs(pipeline, plug)
add_plugs,
add_routes(pipeline, route)
add_routes,
add_static_routes
add_static_routes
Class methods inherited from module Launch::CLI::Helpers
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
Class Method Detail
Instance Method Detail
def filter(entries)
#
Description copied from class Teeplate::FileTree
Override to filter files rendered