diff --git a/lib/vagrant/cli.rb b/lib/vagrant/cli.rb index 112c27adf..f98c045b3 100644 --- a/lib/vagrant/cli.rb +++ b/lib/vagrant/cli.rb @@ -65,6 +65,7 @@ module Vagrant commands.keys.sort.each do |key| o.separator " #{key.ljust(longest+2)} #{commands[key]}" + @env.ui.machine("cli-command", key.dup) end o.separator "" diff --git a/website/docs/source/v2/cli/machine-readable.html.md b/website/docs/source/v2/cli/machine-readable.html.md index 239273e9f..f8a1db229 100644 --- a/website/docs/source/v2/cli/machine-readable.html.md +++ b/website/docs/source/v2/cli/machine-readable.html.md @@ -99,6 +99,13 @@ with the machine-readable output. + +cli-command + + A subcommand of vagrant that is available. + + + provider-name