Class: Skipper::Cli
- Inherits:
-
Thor
- Object
- Thor
- Skipper::Cli
- Includes:
- Thor::Actions
- Defined in:
- lib/skipper/cli.rb
Instance Method Summary collapse
Instance Method Details
#ssh ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/skipper/cli.rb', line 26 def ssh unless Skipper::Banner.print if Skipper::File.stdin_has_data? Skipper::File.new(, self).run($stdin) elsif .file? Skipper::File.new(, self).run(::File.new(.file)) else Skipper::Repl.new(, self).run end end |