-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add another mention of default config yaml location in README (#325)
- Loading branch information
1 parent
1180e02
commit d2451b2
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ You will need Go installed on your machine in order to work with the source (and | |
|
||
Another way to build from source is to | ||
|
||
``` | ||
```sh | ||
git clone [email protected]:vultr/vultr-cli.git or git clone https://github.com/vultr/vultr-cli.git | ||
cd vultr-cli | ||
make builds/vultr-cli_(pass name of os + arch, as shown below) | ||
|
@@ -159,7 +159,7 @@ You should use = when using a boolean flag. | |
`vultr-cli instance create --region <region-id> --plan <plan-id> --os <os-id> --host <hostname> --notify=true` | ||
|
||
##### Utilizing the config flag | ||
The config flag can be used to specify the vultr-cli.yaml file path when it's outside the default location. If the file has the `api-key` defined, the CLI will use the vultr-cli.yaml config, otherwise it will default to reading the environment variable for the api key. | ||
The config flag can be used to specify the vultr-cli.yaml file path when it's outside the default location (default is $HOME/.vultr-cli.yaml). If the file has the `api-key` defined, the CLI will use the vultr-cli.yaml config, otherwise it will default to reading the environment variable for the api key. | ||
|
||
`vultr-cli instance list --config /Users/myuser/vultr-cli.yaml` | ||
|
||
|