class Amber::CLI::Config

Defined in:

amber/cli/config.cr

Constant Summary

DEFAULT_NAME = "[process_name]"
SHARD_YML = "shard.yml"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node, _dummy : Nil) #

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new #

[View source]

Class Method Detail

def self.get_name #

[View source]

Instance Method Detail

def add_npm_watch_options(options) #

[View source]
def database : String #

def database=(_database : String) #

def default_watch_options #

[View source]
def language : String #

def language=(_language : String) #

def minimal : Bool #

[View source]
def minimal=(minimal : Bool) #

[View source]
def model : String #

def model=(_model : String) #

def recipe : String? #

def recipe=(_recipe : String | Nil) #

def recipe_source : String? #

def recipe_source=(_recipe_source : String | Nil) #

def to_yaml(__temp_135 : YAML::Nodes::Builder) #

def watch : Hash(String, Hash(String, Array(String))) #

def watch=(_watch : WatchOptions) #