Module: Caliph
- Defined in:
- lib/caliph/command-chain.rb,
lib/caliph/command-line-dsl.rb,
lib/caliph/command-line.rb,
lib/caliph/command-run-result.rb,
lib/caliph/define-op.rb,
lib/caliph/shell-escaped.rb,
lib/caliph/testing/mock-command-line.rb,
lib/caliph/testing/record-commands.rb,
lib/caliph.rb,
lib/caliph/shell.rb
Defined Under Namespace
Modules: CommandLineDSL, CommandLineExampleGroup, DefineOp Classes: CommandChain, CommandLine, CommandRunResult, Error, IncompleteCommand, InvalidCommand, MockCommandResult, PipelineChain, PrereqChain, Shell, ShellEscaped, WrappingChain
Class Method Summary (collapse)
-
+ (Object) new
Returns an instance of the default Shell.
Class Method Details
+ (Object) new
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 |