The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
:file
type I'd think
:string
and then open the file.
:file
type to have some sort of builtin helper method to abort if the file doesn't exist or something maybe.
end
of course ;)
:index
is used to basically be able to reference the command object elsewhere in the app.
:index
symbol you give it.
flags
block in my examples
short
and long
flag types.