website/docs: add more docs for non-primary subcommands
This commit is contained in:
parent
8bc36824bf
commit
e7d439ccb3
|
@ -119,6 +119,7 @@
|
||||||
<li<%= sidebar_current("cli-status") %>><a href="/v2/cli/status.html">status</a></li>
|
<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-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-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>
|
<li<%= sidebar_current("cli-machinereadable") %>><a href="/v2/cli/machine-readable.html">Machine Readable Output</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -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`.
|
Loading…
Reference in New Issue