Smith::Tools::PromptApprover
Inherits Smith::Tools::Approver < Reference < Object
Asks the user, remembering [a]lways answers for the rest of the session.
Constructors
new(allowlist : Array(String) = Array(String).new, input : IO = STDIN, output : IO = STDOUT, rules : RuleSet = RuleSet.new)
SourceInstance methods
allowlist
Sourceapprove?(tool : Tool, call : CallRequest) : Bool
Source