Skip to content

Commit

Permalink
Release for v2.7.0 (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamclaughlin authored Jul 16, 2021
1 parent 1a16afd commit ba72ef4
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Change Log
## [v2.7.0](https://github.com/vultr/vultr-cli/compare/v2.6.0..v2.7.0) (2021-07-16)
### Dependencies
* GoVultr 2.6.0 -> 2.7.1 (added image_id support for instance and bare metal updates) [PR 169](https://github.com/vultr/vultr-cli/pull/169)

### Enhancements
* Instances: Add image_id support [PR 169](https://github.com/vultr/vultr-cli/pull/169)
* Bare-metal: Add image_id support [PR 169](https://github.com/vultr/vultr-cli/pull/169)
* Add documentation for autocompletions in README

## [v2.6.0](https://github.com/vultr/vultr-cli/compare/v2.5.3..v2.6.0) (2021-07-07)
### Dependencies
Expand Down
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,46 @@ Currently the only available field that you can use with a config file is `api-k

`api-key: MYKEY`

### CLI Autocompletion
`vultr-cli completion` will return autocompletions, but this feature requires setup.

Some guides:

<pre>
<h4>Bash:</h4>
$ source <(yourprogram completion bash)

<b>To load completions for each session, execute once:</b>
<b>Linux:</b>
$ yourprogram completion bash > /etc/bash_completion.d/yourprogram

<b>macOS:</b>
$ yourprogram completion bash > /usr/local/etc/bash_completion.d/yourprogram

<h4>Zsh:</h4>
<b>If shell completion is not already enabled in your environment,
you will need to enable it. You can execute the following once:</b>

$ echo "autoload -U compinit; compinit" >> ~/.zshrc

<b>To load completions for each session, execute once:</b>
$ yourprogram completion zsh > "${fpath[1]}/_yourprogram"

You will need to start a new shell for this setup to take effect.

<h4>fish:</h4>
$ yourprogram completion fish | source

<b>To load completions for each session, execute once:</b>
$ yourprogram completion fish > ~/.config/fish/completions/yourprogram.fish

<h4>PowerShell:</h4>
PS> yourprogram completion powershell | Out-String | Invoke-Expression

<b>To load completions for every new session, run:</b>
PS> yourprogram completion powershell > yourprogram.ps1
<b>and source this file from your PowerShell profile.</b>
</pre>

## Contributing
Feel free to send pull requests our way! Please see the [contributing guidelines](CONTRIBUTING.md).
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ var versionCmd = &cobra.Command{
}

func version() string {
return "Vultr-cli v2.6.0"
return "Vultr-cli v2.7.0"
}

0 comments on commit ba72ef4

Please sign in to comment.