website/docs: add more docs for non-primary subcommands

This commit is contained in:
Mitchell Hashimoto 2014-01-11 09:39:13 -08:00
parent 8bc36824bf
commit e7d439ccb3
2 changed files with 20 additions and 0 deletions

View File

@ -119,6 +119,7 @@
<li<%= sidebar_current("cli-status") %>><a href="/v2/cli/status.html">status</a></li>
<li<%= sidebar_current("cli-suspend") %>><a href="/v2/cli/suspend.html">suspend</a></li>
<li<%= sidebar_current("cli-up") %>><a href="/v2/cli/up.html">up</a></li>
<li<%= sidebar_current("cli-nonprimary") %>><a href="/v2/cli/non-primary.html">More Commands</a></li>
<li<%= sidebar_current("cli-machinereadable") %>><a href="/v2/cli/machine-readable.html">Machine Readable Output</a></li>
</ul>
<% end %>

View File

@ -0,0 +1,19 @@
---
page_title: "More Vagrant Commands - Command-Line Interface"
sidebar_current: "cli-nonprimary"
---
# More Commands
In addition to the commands listed in the sidebar and shown in `vagrant -h`,
Vagrant comes with some more commands that are hidden from basic help output.
These commands are hidden because they're not useful to beginners or they're
not commonly used. We call these commands "non-primary subcommands".
You can view all subcommands, including the non-primary subcommands,
by running `vagrant list-commands`, which itself is a non-primary subcommand!
Note that while you have to run a special command to list the non-primary
subcommands, you don't have to do anything special to actually _run_ the
non-primary subcommands. They're executed just like any other subcommand:
`vagrant COMMAND`.