Class: VagrantPlugins::SSHConfigCache::Command

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/vagrant-ssh-config-cache/command.rb

Defined Under Namespace

Modules: Helpers Classes: Reset, Update

Instance Method Summary collapse

Constructor Details

#initialize(argv, env) ⇒ Command

Returns a new instance of Command.



6
7
8
9
10
11
12
13
# File 'lib/vagrant-ssh-config-cache/command.rb', line 6

def initialize(argv, env)
  @argv     = argv
  @env      = env
  @cmd_name = 'ssh-config-cache'

  split_argv
  register_subcommands
end

Instance Method Details

#executeObject



15
16
17
# File 'lib/vagrant-ssh-config-cache/command.rb', line 15

def execute
  invoke_subcommand
end