struct WinMD::CLI::Generate::Arguments
- WinMD::CLI::Generate::Arguments
- Struct
- Value
- Object
Included Modules
- Enumerable(String)
- Iterable(String)
Defined in:
winmd/cli/generate.cr:3winmd/cli/generate.cr:27
winmd/cli/generate.cr:31
Constant Summary
-
SPECS =
{"source_dir" => {type: "String", description: {"source_dir", "Source directory with JSON files"}, default: "nil", is_required: false}, "dest_dir" => {type: "String", description: {"dest_dir", "Destination directory for rendered Crystal library. Source files will be in $DEST_DIR/src/$MODULE_NAME"}, default: "\"win32cr\"", is_required: false}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)
Constructors
Instance Method Summary
- #[](*args, **options)
- #[](*args, **options, &)
- #dest_dir : String | Nil
- #each(*args, **options)
- #each(*args, **options, &)
- #exists?(name : Symbol)
- #get(name : Symbol)
- #get?(name : Symbol)
- #inspect(io)
- #rest : Array(String)
- #source_dir : String | Nil
- #validate!(command : Admiral::Command)
- #value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
Constructor Detail
Instance Method Detail
def value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
#