Show description for hostmanager when vagrant list-commands is triggered

This commit is contained in:
axisthemes 2014-07-08 10:06:44 +05:45
parent 936e7e4567
commit f81fc562f3
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@ module VagrantPlugins
class Command < Vagrant.plugin('2', :command)
include HostsFile
# Show description when `vagrant list-commands` is triggered
def self.synopsis
"manages the /etc/hosts file within a multi-machine environment"
end
def execute
options = {}
opts = OptionParser.new do |o|