Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
amber_cli
main
Amber
CLI
Api
ApiController
App
Auth
Config
WatchOptions
Controller
EmptyMigration
ErrorTemplate
Field
Generator
Generators
Helpers
Migration
Mailer
MainCommand
Database
Help
Options
Parser
Encrypt
Help
Options
Parser
Exec
Help
Options
Parser
Generate
Help
Options
Parser
Help
New
Help
Options
Parser
Options
Parser
Pipelines
BadRoutesException
Help
Options
Parser
Plugin
Help
Options
Parser
Routes
Help
Options
Parser
Watch
Help
Options
Parser
Migration
Model
Scaffold
ScaffoldController
ScaffoldView
WebSocket
WebSocketChannel
Environment
Env
EnvType
Loader
Logging
OptionsType
Settings
SettingValue
SMTPSettings
Exceptions
Base
Controller
Redirect
CookieOverflow
DuplicateRouteError
EncryptionKeyMissing
Environment
Forbidden
InvalidMessage
InvalidSignature
Page
RouteNotFound
Validator
InvalidParam
ValidationFailed
Plugins
Fetcher
Installer
Plugin
Settings
RouteType
Recipes
App
Controller
FileEntries
Model
Recipe
RecipeFetcher
Scaffold
Controller
View
Support
FileEncryptor
MessageEncryptor
MessageVerifier
AmberCli
Command
Help
Options
Parser
Sentry
ProcessRunner
SentryCommand
Help
Options
Parser
Teeplate
FileTree
RenderingEntry
Built with Crystal 1.9.2
2023-10-08 14:17:39 UTC
class
Amber::CLI::WebSocketChannel
Amber::CLI::WebSocketChannel
Amber::CLI::Generator
Teeplate::FileTree
Reference
Object
Defined in:
amber_cli/generators/channel.cr
Constructors
.new
(name, fields)
Instance Method Summary
#____collect_files
(____files)
:nodoc:
#__ecr0
(____io)
#pre_render
(directory, **args)
Instance methods inherited from class
Amber::CLI::Generator
add_timestamp_fields
add_timestamp_fields
,
config : Amber::CLI::Config
config
,
config=(config : Amber::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=
Constructor methods inherited from class
Amber::CLI::Generator
new(name : String, params)
new
Class methods inherited from class
Amber::CLI::Generator
registered_commands
registered_commands
Instance methods inherited from module
Amber::CLI::Helpers
add_dependencies(dependencies)
add_dependencies
,
add_plugs(pipeline, plug)
add_plugs
,
add_routes(pipeline, route)
add_routes
Class methods inherited from module
Amber::CLI::Helpers
run(command, wait =
true
, shell =
true
)
run
Instance methods inherited from module
Amber::CLI::Helpers::Migration
create_index_for_reference_fields_sql
create_index_for_reference_fields_sql
,
create_table_sql
create_table_sql
,
drop_table_sql
drop_table_sql
,
primary_key
primary_key
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, fields)
#
[
View source
]
Instance Method Detail
def
____collect_files
(____files)
#
Description copied from class
Teeplate::FileTree
:nodoc:
[
View source
]
def
__ecr0
(____io)
#
[
View source
]
def
pre_render
(directory, **args)
#
[
View source
]