Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Marten::CLI::Manage::Command::New::Context
Inherits
Reference
/
Object
Constants
TARGET_AUTH = "auth"
TARGET_GENERAL = "general"
TARGET_IMAGE = "image"
Constructors
new
(name :
String
= "example", database :
String
= "sqlite3", targets :
Array
(
String
) = [
TARGET_GENERAL
], edge :
Bool
|
Nil
= false)
Source
Instance methods
capitalized_name
Source
database
Source
database=
(database :
String
)
Source
edge
Source
edge=
(edge :
Bool
|
Nil
)
Source
name
Source
name=
(name :
String
)
Source
targets
Source
targets=
(targets :
Array
(
String
))
Source
targets_auth?
Source
targets_image?
Source