class
AmberCLI::Commands::NewCommand
- AmberCLI::Commands::NewCommand
- AmberCLI::Core::BaseCommand
- Reference
- Object
Defined in:
amber_cli/commands/new_command.crConstant Summary
-
VALID_APP_TYPES =
["web", "native"] of ::String -
VALID_DATABASES =
["pg", "mysql", "sqlite"] of ::String -
VALID_TEMPLATES =
["ecr"] of ::String
Class Method Summary
-
.minecart_lock_problem(lock : String) : String | Nil
Describes what is wrong with a generated application's
shard.lock, or returns nil when each dependency entry carries exactly one checksum and Amber is locked atAmberRelease::COMMITwithAmberRelease::CHECKSUM, orAmberRelease::TREEfrom a Minecart older than 2025.11.25.9.
Instance Method Summary
- #app_type : String
- #application_name : String
- #database : String
- #execute
- #help_description : String
- #setup_command_options
- #should_assume_yes : Bool
- #should_skip_agent_setup : Bool
- #should_skip_dependency_installation : Bool
- #template : String
- #validate_arguments
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
Class Method Detail
def self.minecart_lock_problem(lock : String) : String | Nil
#
Describes what is wrong with a generated application's shard.lock, or
returns nil when each dependency entry carries exactly one checksum and
Amber is locked at AmberRelease::COMMIT with AmberRelease::CHECKSUM,
or AmberRelease::TREE from a Minecart older than 2025.11.25.9.