class AmberCLI::Commands::NewCommand

Defined in:

amber_cli/commands/new_command.cr

Constant Summary

VALID_APP_TYPES = ["web", "native"] of ::String
VALID_DATABASES = ["pg", "mysql", "sqlite"] of ::String
VALID_TEMPLATES = ["ecr"] of ::String

Class Method Summary

Instance Method Summary

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.


[View source]

Instance Method Detail

def app_type : String #

[View source]
def application_name : String #

[View source]
def database : String #

[View source]
def execute #

[View source]
def help_description : String #

[View source]
def setup_command_options #

[View source]
def should_assume_yes : Bool #

[View source]
def should_skip_agent_setup : Bool #

[View source]
def should_skip_dependency_installation : Bool #

[View source]
def template : String #

[View source]
def validate_arguments #

[View source]