Add documentation for validate command

This commit is contained in:
Hasyimi Bahrudin 2017-02-07 14:15:16 +08:00
parent cbda9f0906
commit e0fb8b1fad
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
---
layout: "docs"
page_title: "vagrant validate - Command-Line Interface"
sidebar_current: "cli-validate"
description: |-
The "vagrant validate" command is used to validate your Vagrantfile.
---
# Up
**Command: `vagrant validate`**
This command validates your [Vagrantfile](/docs/vagrantfile/).
## Examples
```sh
$ vagrant validate
Vagrantfile validated successfully.
```

View File

@ -62,6 +62,7 @@
<li<%= sidebar_current("cli-status") %>><a href="/docs/cli/status.html">status</a></li>
<li<%= sidebar_current("cli-suspend") %>><a href="/docs/cli/suspend.html">suspend</a></li>
<li<%= sidebar_current("cli-up") %>><a href="/docs/cli/up.html">up</a></li>
<li<%= sidebar_current("cli-validate") %>><a href="/docs/cli/validate.html">validate</a></li>
<li<%= sidebar_current("cli-version") %>><a href="/docs/cli/version.html">version</a></li>
<li<%= sidebar_current("cli-nonprimary") %>><a href="/docs/cli/non-primary.html">More Commands</a></li>
<li<%= sidebar_current("cli-machinereadable") %>><a href="/docs/cli/machine-readable.html">Machine Readable Output</a></li>