Open Sidebar
Close Sidebar
Amber CLI
main
Amber
CLI
Config
WatchOptions
Helpers
Exceptions
Base
Controller
Redirect
CookieOverflow
DuplicateRouteError
EncryptionKeyMissing
Environment
Forbidden
InvalidMessage
InvalidSignature
Page
RouteNotFound
Validator
InvalidParam
ValidationFailed
Plugins
Fetcher
Plugin
Settings
RouteType
Support
FileEncryptor
MessageEncryptor
MessageVerifier
AmberCLI
Commands
DatabaseCommand
EncryptCommand
ExecCommand
NewCommand
PipelinesCommand
PluginCommand
RoutesCommand
WatchCommand
Documentation
ApplicationAnalysis
CommandReference
ConfigurationReference
DatabaseCommand
DevelopmentTools
GenerationSystem
NewCommand
Overview
PluginSystem
SecurityAndConfiguration
Troubleshooting
MainCommand
Vendor
class
AmberCLI::
MainCommand
AmberCLI::MainCommand
AmberCLI::Core::BaseCommand
Reference
Object
Defined in:
amber_cli/main_command.cr
Constructors
.new
Class Method Summary
.run
(args : Array(String))
Instance Method Summary
#execute
#help_description
: String
#setup_command_options
Instance methods inherited from class
AmberCLI::Core::BaseCommand
execute
execute
,
help_description : String
help_description
,
option_parser : OptionParser
option_parser
,
parse_and_execute(args : Array(String))
parse_and_execute
,
parsed_options : Hash(String, String | Bool | Array(String))
parsed_options
,
remaining_arguments : Array(String)
remaining_arguments
,
setup_command_options
setup_command_options
Constructor methods inherited from class
AmberCLI::Core::BaseCommand
new(command_name : String)
new
Constructor Detail
def self.
new
#
[
View source
]
Class Method Detail
def self.
run
(args : Array(String))
#
[
View source
]
Instance Method Detail
def
execute
#
[
View source
]
def
help_description
: String
#
[
View source
]
def
setup_command_options
#
[
View source
]