struct CliGen::FlagMeta

Overview

To be able to store metadata for use in the help output

Defined in:

cligen/flag/meta.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, array : Bool, format : String | Nil, default : String, options : Array(String) | Nil) #

Instance Method Detail

def array : Bool #

def clone #

def copy_with(type _type = @type, array _array = @array, format _format = @format, default _default = @default, options _options = @options) #

def default : String #

def format : String | Nil #

def options : Array(String) | Nil #

def type : String #