class ChatGPT::CLI
- ChatGPT::CLI
- Reference
- Object
Defined in:
chatgpt/cli.crchatgpt/cli/parser.cr
chatgpt/cli/version.cr
Constant Summary
-
SOURCE_URL =
"https://github.com/kojix2/chatgpt-cli"
-
VERSION =
{{ (`shards version /srv/crystaldoc.info/github-kojix2-chatgpt-cli-v0.6.1/src/chatgpt/cli`).chomp.stringify }}
Constructors
Instance Method Summary
- #apply_crustache_rendering(input_msg, opts)
- #chat_gpt_client : ChatGPT::Client
- #code_blocks : Array(File)
- #colorize_code_blocks(msg)
- #magic_command_runner : ChatGPT::Magic
- #main_run(input_msg)
- #options : Hash(String, String | Bool)
- #parse_args(args)
- #post_data : PostData
- #read_input_file
- #response_data : ResponseData
- #run
- #run_config
- #run_help
- #run_in_batch
- #run_interacitively
- #run_version
- #subcommand : String
- #substitutor : ChatGPT::Substitutor
- #system_command_runner : ChatGPT::SystemCommand
- #total_tokens : Int32