Module: Caliph

Defined in:
lib/caliph.rb,
lib/caliph/shell.rb,
lib/caliph/define-op.rb,
lib/caliph/describer.rb,
lib/caliph/command-line.rb,
lib/caliph/command-chain.rb,
lib/caliph/shell-escaped.rb,
lib/caliph/command-line-dsl.rb,
lib/caliph/command-run-result.rb,
lib/caliph/testing/record-commands.rb,
lib/caliph/testing/mock-command-line.rb

Defined Under Namespace

Modules: CommandLineDSL, CommandLineExampleGroup, DefineOp Classes: CommandChain, CommandLine, CommandRunResult, Describer, Error, IncompleteCommand, InvalidCommand, MockCommandResult, MockShell, PipelineChain, PrereqChain, Shell, ShellEscaped, WrappingChain

Class Method Summary collapse

Class Method Details

.newObject

TODO:

add alternative shells - e.g. SSHShell

Returns an instance of the default Shell



4
5
6
# File 'lib/caliph.rb', line 4

def self.new
  Shell.new
end