website: improved command docs

This commit is contained in:
Mitchell Hashimoto 2013-06-11 01:03:15 -07:00
parent ccc6ecb31c
commit 8a08113269
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ perform new functionality.
Prior to reading this page, it is assumed you have read the page on Prior to reading this page, it is assumed you have read the page on
[plugin development basics](/docs/extend/developing-plugins.html). [plugin development basics](/docs/extend/developing-plugins.html).
Command plugins implement the `packer.Command` interface and are served
using the `plugin.ServeCommand` function. Commands actually have no control
over what keyword invokes the command with the `packer` binary. The keyword
to invoke the command depends on how the plugin is installed and configured
in the core Packer configuration.
<div class="alert alert-block"> <div class="alert alert-block">
<strong>Warning!</strong> This is an advanced topic. If you're new to Packer, <strong>Warning!</strong> This is an advanced topic. If you're new to Packer,
we recommend getting a bit more comfortable before you dive into writing we recommend getting a bit more comfortable before you dive into writing