struct Swm::Deploy::Flags
- Swm::Deploy::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
commands/stack/deploy.cr:7commands/stack/deploy.cr:16
commands/stack/deploy.cr:20
commands/stack/deploy.cr:23
commands/stack/deploy.cr:25
commands/stack/deploy.cr:27
commands/stack/deploy.cr:29
commands/stack/deploy.cr:31
Constant Summary
-
DESCRIPTIONS =
{} of String => String
-
SPECS =
{"__help__" => {type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "app_replicas" => {type: "Int32", default: "1", description: {"--app-replicas (default: 1)", "number of app replicas"}, short: "nil", long: "app-replicas", is_required: true}, "compose_file" => {type: "String", default: "nil", description: {"--compose-file", "compose file to use (default: \"<stack>.yml\")"}, short: "nil", long: "compose-file", is_required: false}, "environment" => {type: "String", default: "nil", description: {"--environment", "application environment (includes environment file from \"secrets/<STACK>/stack.env\""}, short: "nil", long: "environment", is_required: false}, "env_file" => {type: "String", default: "nil", description: {"--env-file", "environment file to include"}, short: "nil", long: "env-file", is_required: false}, "predeploy" => {type: "String", default: "nil", description: {"--predeploy", "predeploy script to run inside the script container"}, short: "nil", long: "predeploy", is_required: false}, "postdeploy" => {type: "String", default: "nil", description: {"--postdeploy", "postdeploy script to run inside the script container"}, short: "nil", long: "postdeploy", is_required: false}, "script_service" => {type: "String", default: "\"app\"", description: {"--script-service (default: \"app\")", "service to watch during predeploy / postdeploy"}, short: "nil", long: "script-service", is_required: true}} of String => NamedTuple(type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)
Constructors
Instance Method Summary
- #__help__
- #app_replicas
- #compose_file : String?
- #env_file : String?
- #environment : String?
- #inspect(io)
- #postdeploy : String?
- #predeploy : String?
- #script_service
- #validate!(command)