From c573cf23704aeb0f15a977bc92d71ce9405790ee Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 20 Jun 2013 14:08:04 -0700 Subject: [PATCH] website: start documenting the command-line --- .../command-line/introduction.html.markdown | 21 +++++++++++++++++++ website/source/layouts/docs.erb | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 website/source/docs/command-line/introduction.html.markdown diff --git a/website/source/docs/command-line/introduction.html.markdown b/website/source/docs/command-line/introduction.html.markdown new file mode 100644 index 000000000..fd4ada4d3 --- /dev/null +++ b/website/source/docs/command-line/introduction.html.markdown @@ -0,0 +1,21 @@ +--- +layout: "docs" +--- + +# Packer Command-Line + +Packer is controlled using a command-line interface. All interaction with +Packer is done via the `packer` tool. Like many other command-line tools, +the `packer` tool takes a subcommand to execute, and that subcommand may +have additional options as well. Subcommands are executed with +`packer SUBCOMMAND`, where "SUBCOMMAND" is obviously the actual command you wish +to execute. + +If you run `packer` by itself, help will be displayed showing all available +subcommands and a brief synopsis of what they do. In addition to this, you can +run any `packer` command with the `-h` flag to output more detailed help for +a specific subcommand. + +In addition to the documentation available on the command-line, each command +is documented on this website. You can find the documentation for a specific +subcommand using the navigation to the left. diff --git a/website/source/layouts/docs.erb b/website/source/layouts/docs.erb index a2c0cabe5..a898bbe22 100644 --- a/website/source/layouts/docs.erb +++ b/website/source/layouts/docs.erb @@ -31,7 +31,7 @@
  • Terminology
  • -
  • Introduction
  • +
  • Introduction
  • Build
  • Validate