From e7d439ccb342bceb49523aa72078bc1065338c69 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 11 Jan 2014 09:39:13 -0800 Subject: [PATCH] website/docs: add more docs for non-primary subcommands --- website/docs/source/layouts/layout.erb | 1 + .../docs/source/v2/cli/non-primary.html.md | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 website/docs/source/v2/cli/non-primary.html.md diff --git a/website/docs/source/layouts/layout.erb b/website/docs/source/layouts/layout.erb index 44940e9b9..ab7f31057 100644 --- a/website/docs/source/layouts/layout.erb +++ b/website/docs/source/layouts/layout.erb @@ -119,6 +119,7 @@ >status >suspend >up + >More Commands >Machine Readable Output <% end %> diff --git a/website/docs/source/v2/cli/non-primary.html.md b/website/docs/source/v2/cli/non-primary.html.md new file mode 100644 index 000000000..76b3cd63c --- /dev/null +++ b/website/docs/source/v2/cli/non-primary.html.md @@ -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`.