terraform/website/source
Mitchell Hashimoto d1b46e99bd Add `terraform state list` command
This introduces the terraform state list command to list the resources
within a state. This is the first of many state management commands to
come into 0.7.

This is the first command of many to come that is considered a
"plumbing" command within Terraform (see "plumbing vs porcelain":
http://git.661346.n2.nabble.com/what-are-plumbing-and-porcelain-td2190639.html).
As such, this PR also introduces a bunch of groundwork to support
plumbing commands.

The main changes:

- Main command output is changed to split "common" and "uncommon"
  commands.

- mitchellh/cli is updated to support nested subcommands, since
  terraform state list is a nested subcommand.

- terraform.StateFilter is introduced as a way in core to filter/search
  the state files. This is very basic currently but I expect to make it
  more advanced as time goes on.

- terraform state list command is introduced to list resources in a
  state. This can take a series of arguments to filter this down.

Known issues, or things that aren't done in this PR on purpose:

- Unit tests for terraform state list are on the way. Unit tests for the
  core changes are all there.
2016-05-10 14:14:47 -04:00
..
assets Add `terraform state list` command 2016-05-10 14:14:47 -04:00
docs Add `terraform state list` command 2016-05-10 14:14:47 -04:00
intro docs: Clarify wording of which variables prompt 2016-05-08 19:38:35 -04:00
layouts Add `terraform state list` command 2016-05-10 14:14:47 -04:00
.gitignore
404.html.erb
community.html.erb Use HTTPS + www. for links 2016-01-14 16:03:26 -05:00
downloads.html.erb Minor typo 2016-04-22 23:46:15 -04:00
index.html.erb provider/aws: Update docs with t1 instance for accounts with EC2 Classic 2015-12-21 10:00:34 -06:00
robots.txt
sitemap.xml.builder