clean up docs

This commit is contained in:
Megan Marsh 2019-06-06 15:02:22 -07:00
parent 2b8fe72e30
commit 435bda05a7
2 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,7 @@
---
description: |
The `packer console` command allows you to experiment with Packer variable
interpolations.
interpolations.
layout: docs
page_title: 'packer console - Commands'
sidebar_current: 'docs-commands-console'
@ -35,18 +35,17 @@ help output, which can be seen via `packer console -h`.
example: `-var-file myvars.json`
## REPL commands
- `help` - displays help text for Packer console.
- `help` - displays help text for Packer console.
- `exit` - exits the console
- `exit` - exits the console
- `variables` - prints a list of all variables read into the console from the
`-var` option, `-var-files` option, and template.
- `variables` - prints a list of all variables read into the console from the
`-var` option, `-var-files` option, and template.
## Usage Examples
Let's say you launch a console using a Packer template `example_template.json`:
```
$ packer console example_template.json
```

View File

@ -13,7 +13,7 @@
<a href="/docs/commands/build.html"><tt>build</tt></a>
</li>
<li<%= sidebar_current("docs-commands-console") %>>
<a href="/docs/commands/console.html"><tt>build</tt></a>
<a href="/docs/commands/console.html"><tt>console</tt></a>
</li>
<li<%= sidebar_current("docs-commands-fix") %>>
<a href="/docs/commands/fix.html"><tt>fix</tt></a>