class Marten::CLI::Manage::Command::New::Context

Defined in:

marten/cli/manage/command/new/context.cr

Constant Summary

TARGET_AUTH = "auth"
TARGET_GENERAL = "general"

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String = "example", database : String = "sqlite3", targets : Array(String) = [TARGET_GENERAL]) #

[View source]

Instance Method Detail

def capitalized_name : String #

[View source]
def database : String #

[View source]
def database=(database : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def targets : Array(String) #

[View source]
def targets=(targets : Array(String)) #

[View source]
def targets_auth? #

[View source]