open-vault/website/source/docs/commands/get.html.markdown

29 lines
822 B
Markdown
Raw Normal View History

2015-03-13 17:34:29 +00:00
---
layout: "docs"
page_title: "Command: get"
sidebar_current: "docs-commands-get"
description: |-
The `vault get` command is used to download and update modules.
---
# Command: get
The `vault get` command is used to download and update
[modules](/docs/modules/index.html).
## Usage
Usage: `vault get [options] [dir]`
The modules are downloaded into a local `.vault` folder. This
folder should not be committed to version control.
If a module is already downloaded and the `-update` flag is _not_ set,
Vault will do nothing. As a result, it is safe (and fast) to run this
command multiple times.
The command-line flags are all optional. The list of available flags are:
* `-update` - If specified, modules that are already downloaded will be
checked for updates and the updates will be downloaded if present.