class

AzuCLI::Commands::New

Inherits AzuCLI::Commands::Base < Reference < Object

New command for creating new Azu projects

Constants

CRYSTAL_RESERVED_WORDS = ["abstract", "alias", "annotation", "as", "asm", "begin", "break", "case", "class", "def", "do", "else", "elsif", "end", "ensure", "enum", "extend", "false", "for", "fun", "if", "include", "instance_sizeof", "is_a?", "lib", "macro", "module", "next", "nil", "of", "out", "pointerof", "private", "protected", "require", "rescue", "responds_to?", "return", "select", "self", "sizeof", "struct", "super", "then", "true", "type", "typeof", "union", "uninitialized", "unless", "until", "verbatim", "when", "while", "with", "yield"] of ::String

Crystal reserved words that cannot be used as project names

Constructors

Instance methods

author
Source
author=(author : String)
Source
ci_setup
Source
ci_setup=(ci_setup : String)
Source
database
Source
database=(database : String)
Source
docker_support
Source
docker_support=(docker_support : Bool)
Source
email
Source
email=(email : String)
Source
execute

Abstract method that all commands must implement

Source
git_init
Source
git_init=(git_init : Bool)
Source
include_example
Source
include_example=(include_example : Bool)
Source
include_joobq
Source
include_joobq=(include_joobq : Bool)
Source
license
Source
license=(license : String)
Source
module_name
Source
module_name=(module_name : String)
Source
non_interactive
Source
non_interactive=(non_interactive : Bool)
Source
parse_args(args : Array(String))

Override parse_args to also trigger custom parsing

Source
project_name

Configuration properties

Source
project_name=(project_name : String)

Configuration properties

Source
project_type
Source
project_type=(project_type : String)
Source
show_help

Show help for this command

Source
test_framework
Source
test_framework=(test_framework : String)
Source