class

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)
Source

Instance methods

allowlist
Source
approve?(tool : Tool, call : CallRequest) : Bool
Source