Class: Hotdog::Commands::Scp
- Inherits:
-
SingularSshAlike
- Object
- BaseCommand
- Search
- SshAlike
- SingularSshAlike
- Hotdog::Commands::Scp
- Defined in:
- lib/hotdog/commands/scp.rb
Instance Attribute Summary
Attributes inherited from Search
Attributes inherited from BaseCommand
#application, #logger, #options, #persistent_db_path
Instance Method Summary collapse
Methods inherited from SshAlike
Methods inherited from Search
#evaluate, #get_hosts_with_search_tags, #parse, #parse_options, #run
Methods inherited from BaseCommand
#execute, #fixed_string?, #initialize, #parse_options, #reload, #run
Constructor Details
This class inherits a constructor from Hotdog::Commands::BaseCommand
Instance Method Details
#define_options(optparse, options = {}) ⇒ Object
10 11 12 13 14 |
# File 'lib/hotdog/commands/scp.rb', line 10 def (optparse, ={}) program_name = File.basename($0, '.*') optparse. = "Usage: #{program_name} scp [options] pattern -- src @:dst" super end |