From 8a08113269855ec03958a04dd99ec81ca4ab99fd Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 11 Jun 2013 01:03:15 -0700 Subject: [PATCH] website: improved command docs --- website/source/docs/extend/command.html.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/extend/command.html.markdown b/website/source/docs/extend/command.html.markdown index b24a5d640..f1847ca9c 100644 --- a/website/source/docs/extend/command.html.markdown +++ b/website/source/docs/extend/command.html.markdown @@ -13,6 +13,12 @@ perform new functionality. Prior to reading this page, it is assumed you have read the page on [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. +
Warning! This is an advanced topic. If you're new to Packer, we recommend getting a bit more comfortable before you dive into writing