Class: MintPress::OracleUtils::CLISessionImpl

Inherits:
Object
  • Object
show all
Includes:
MintLogger, Utils
Defined in:
src/oracle-utils/lib/oracle-utils/cli-session.rb

Properties (Read/Write)

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Constants included from Utils

Utils::VERSION

Instance Method Summary collapse

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from Utils

#shellout

Constructor Details

#initialize(transport:, cli:, base_path:, args: "", options: {}) ⇒ CLISessionImpl

Returns a new instance of CLISessionImpl.

Raises:

  • (ArgumentError)

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(sym, *args, &block) ⇒ Object

Instance Method Details

#cli_runner(command:, args:, block: nil) ⇒ Object

#closeObject

#find_binary(cli, base_path) ⇒ Object

#wait_for_stdout(pattern:, timeout: @timeout) ⇒ Object