Class: VagrantGitHooks::Command
- Defined in:
- lib/vagrant-git-hooks/command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
37 38 39 40 41 42 43 44 45 46 |
# File 'lib/vagrant-git-hooks/command.rb', line 37 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 |