Class: VagrantGitHooks::Command
- Defined in:
- lib/vagrant-git-hooks/command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/vagrant-git-hooks/command.rb', line 35 def execute UiHelpers.setup_i18n! @opts = { json: false, no_emoji: false, lang: nil, yes: false, dry_run: false } argv = (build_parser) return 0 unless argv apply_locale_and_flags dispatch(argv.shift, argv) end |