Class: RubyCode::Tools::Bash

Inherits:
Base
  • Object
show all
Defined in:
lib/rubycode/tools/bash.rb

Overview

Tool for executing bash commands with safety checks and approval workflow

Constant Summary collapse

SAFE_COMMANDS =
%w[
  ls
  pwd
  find
  tree
  cat
  head
  tail
  wc
  file
  which
  echo
  grep
  rg
].freeze

Instance Attribute Summary

Attributes inherited from Base

#context

Method Summary

Methods inherited from Base

definition, #execute, #initialize, load_schema

Constructor Details

This class inherits a constructor from RubyCode::Tools::Base