class ChatGPT::CLI::Parser

Defined in:

chatgpt/cli/parser.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Macro Detail

macro add_banner #

[View source]
macro add_chatgpt_options #

[View source]
macro add_help_option #

[View source]
macro add_unknown_args(allow_args_size = -1) #

[View source]

Instance Method Detail

def data : PostData #

[View source]
def load_session(filename) #

[View source]
def options : Hash(String, String | Bool) #

[View source]
def parse(args = ARGV) #
Description copied from class OptionParser

Parses the passed args (defaults to ARGV), running the handlers associated to each option.


[View source]
def subcommand : String #

[View source]