Lolcat::Parser
Inherits OptionParser < Reference < Object
Command line argument parser for the lolcat program.
This class extends Crystal's OptionParser to handle lolcat-specific command line options and convert them into an Options struct.
Constructors
new
Initializes the parser with all supported command line options.
Sets up all the command line options that lolcat supports and their corresponding handlers.
Instance methods
parse(args)
Parses the provided command line arguments.
Processes the command line arguments and updates the options object with the parsed values.
args: The command line arguments to parse
Returns the updated Options object