class ChatGPT::CLI::Parser
- ChatGPT::CLI::Parser
- OptionParser
- Reference
- Object
Defined in:
chatgpt/cli/parser.crConstructors
Macro Summary
Instance Method Summary
- #data : PostData
- #load_session(filename)
- #options : Hash(String, String | Bool)
-
#parse(args = ARGV)
Parses the passed args (defaults to
ARGV
), running the handlers associated to each option. - #subcommand : String
Constructor Detail
Macro Detail
Instance Method Detail
def parse(args = ARGV)
#
Description copied from class OptionParser
Parses the passed args (defaults to ARGV
), running the handlers associated to each option.