struct Mint::Cli::Build::Flags
- Mint::Cli::Build::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
commands/build.cr:3commands/build.cr:8
commands/build.cr:11
commands/build.cr:15
commands/build.cr:19
commands/build.cr:23
commands/build.cr:27
commands/build.cr:31
commands/build.cr:36
commands/build.cr:40
Constant Summary
-
DESCRIPTIONS =
{} of String => String
-
SPECS =
{"__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "runtime" => {kind: "nil", type: "String", default: "nil", description: {"--runtime", "If specified, the supplied runtime will be used instead of the default."}, short: "nil", long: "runtime", is_required: false}, "no_optimize" => {kind: "bool", type: "Bool", default: "false", description: {"--no-optimize", "If specified, the resulting JavaScript code will not be optimized."}, short: "nil", long: "no-optimize", is_required: true}, "skip_icons" => {kind: "bool", type: "Bool", default: "false", description: {"--skip-icons", "If specified, the application icons will not be generated."}, short: "nil", long: "skip-icons", is_required: true}, "generate_manifest" => {kind: "bool", type: "Bool", default: "false", description: {"--generate-manifest", "If specified, the web manifest will be generated."}, short: "nil", long: "generate-manifest", is_required: true}, "generate_source_maps" => {kind: "bool", type: "Bool", default: "false", description: {"--generate-source-maps", "If specified, source maps will be generated."}, short: "nil", long: "generate-source-maps", is_required: true}, "verbose" => {kind: "bool", type: "Bool", default: "false", description: {"--verbose", "If specified, all written files will be logged."}, short: "nil", long: "verbose", is_required: true}, "watch" => {kind: "bool", type: "Bool", default: "false", description: {"--watch, -w", "If specified, will build on every change."}, short: "w", long: "watch", is_required: true}, "timings" => {kind: "bool", type: "Bool", default: "false", description: {"--timings", "If specified, timings will be printed."}, short: "nil", long: "timings", is_required: true}, "env" => {kind: "nil", type: "String", default: "nil", description: {"--env, -e", "Loads the given .env file."}, short: "e", long: "env", is_required: false}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)
Constructors
Instance Method Summary
- #__help__
- #env : String?
- #generate_manifest
- #generate_source_maps
- #inspect(io)
- #no_optimize
- #runtime : String?
- #skip_icons
- #timings
- #validate!(command)
- #verbose
- #watch