Home
Press ? for keyboard navigation
❮
ARGV
Command line Option Parser (argparse, GetOpts)
❯
Usage statement and exit
examples/cli/some_program.cr
if
ARGV
.
size
!=
1
puts
"Usage: some_program FILENAME"
exit
1
end
filename
=
ARGV
[
0
]
puts
filename
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)