packer-cn/website/source/docs/command-line/introduction.html.md

28 lines
1.3 KiB
Markdown
Raw Normal View History

---
2015-07-22 22:31:00 -04:00
description: |
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
2015-10-21 13:41:49 -04:00
"SUBCOMMAND" is the actual command you wish to execute.
2015-07-22 22:31:00 -04:00
layout: docs
page_title: 'Packer Command-Line'
...
# Packer Command-Line
2015-07-22 22:31:00 -04:00
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
2015-10-21 13:41:49 -04:00
"SUBCOMMAND" is 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
2015-07-22 22:31:00 -04:00
run any `packer` command with the `-h` flag to output more detailed help for a
specific subcommand.
2015-07-22 22:31:00 -04:00
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.