Open Sidebar
Close Sidebar
chatgpt-cli
main
ChatGPT
ApiKeyError
CLI
Parser
Client
Config
ConfigData
Generator
Html
HtmlGenerationError
Message
Launcher
Magic
Base
Cd
Clear
Config
Copy
Debug
Edit
Help
History
Html
List
Load
Model
Response
Resume
Save
Shift
System
Tokens
Undo
Webapp
Write
PostData
ResponseData
SigIntError
Substitutor
Base
Command
FilePath
Stderr
Stdout
SystemCommand
Colorize
ObjectExtensions
HTTP
Client
class
ChatGPT::
Substitutor::
Stderr
ChatGPT::Substitutor::Stderr
ChatGPT::Substitutor::Base
Reference
Object
Defined in:
chatgpt/substitutor/stderr.cr
Constructors
.new
(system_command_runner : SystemCommand)
Instance Method Summary
#stderr
(input_msg, stderr_pattern)
#substitute
(input_msg)
Instance methods inherited from class
ChatGPT::Substitutor::Base
substitute(text)
substitute
Constructor Detail
def self.
new
(system_command_runner :
SystemCommand
)
#
[
View source
]
Instance Method Detail
def
stderr
(input_msg, stderr_pattern)
#
[
View source
]
def
substitute
(input_msg)
#
[
View source
]