Method: GitSSHWrapper::CLI.wrapper
- Defined in:
- lib/git-ssh-wrapper/cli.rb
.wrapper(args = ARGV) ⇒ Object
Calls any command with GIT_SSH set.
Examples of argv:
[key_path, git, fetch, origin]
[key_path, some/script, that, calls, git]
10 11 12 |
# File 'lib/git-ssh-wrapper/cli.rb', line 10 def self.wrapper(args=ARGV) new(*args).call end |