From 402a8feecd67d4119e0f2e48194e774a7ecac7c8 Mon Sep 17 00:00:00 2001 From: Curtis Allen Date: Thu, 29 Dec 2016 17:32:30 -0700 Subject: [PATCH] update terraform cli help output to reflect latest output v0.8.1 (#10840) --- .../source/docs/commands/index.html.markdown | 45 ++++++++++++------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/website/source/docs/commands/index.html.markdown b/website/source/docs/commands/index.html.markdown index b02bef75d3..5d163fb542 100644 --- a/website/source/docs/commands/index.html.markdown +++ b/website/source/docs/commands/index.html.markdown @@ -21,22 +21,37 @@ To view a list of the available commands at any time, just run terraform with no ``` $ terraform -usage: terraform [--version] [--help] [] +Usage: terraform [--version] [--help] [args] -Available commands are: - apply Builds or changes infrastructure - destroy Destroy Terraform-managed infrastructure - get Download and install modules for the configuration - graph Create a visual graph of Terraform resources - init Initializes Terraform configuration from a module - output Read an output from a state file - plan Generate and show an execution plan - refresh Update local state file against real resources - remote Configure remote state storage - show Inspect Terraform state or plan - taint Manually mark a resource for recreation - validate Validates the Terraform files - version Prints the Terraform version +The available commands for execution are listed below. +The most common, useful commands are shown first, followed by +less common or more advanced commands. If you're just getting +started with Terraform, stick with the common commands. For the +other commands, please read the help and docs before usage. + +Common commands: + apply Builds or changes infrastructure + console Interactive console for Terraform interpolations + destroy Destroy Terraform-managed infrastructure + fmt Rewrites config files to canonical format + get Download and install modules for the configuration + graph Create a visual graph of Terraform resources + import Import existing infrastructure into Terraform + init Initializes Terraform configuration from a module + output Read an output from a state file + plan Generate and show an execution plan + push Upload this Terraform module to Atlas to run + refresh Update local state file against real resources + remote Configure remote state storage + show Inspect Terraform state or plan + taint Manually mark a resource for recreation + untaint Manually unmark a resource as tainted + validate Validates the Terraform files + version Prints the Terraform version + +All other commands: + debug Debug output management (experimental) + state Advanced state management ``` To get help for any specific command, pass the -h flag to the relevant subcommand. For example,