Skip to content

Commit ba72ef4

Browse files
authored
Release for v2.7.0 (#171)
1 parent 1a16afd commit ba72ef4

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
# Change Log
2+
## [v2.7.0](https://github.com/vultr/vultr-cli/compare/v2.6.0..v2.7.0) (2021-07-16)
3+
### Dependencies
4+
* 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)
5+
6+
### Enhancements
7+
* Instances: Add image_id support [PR 169](https://github.com/vultr/vultr-cli/pull/169)
8+
* Bare-metal: Add image_id support [PR 169](https://github.com/vultr/vultr-cli/pull/169)
9+
* Add documentation for autocompletions in README
210

311
## [v2.6.0](https://github.com/vultr/vultr-cli/compare/v2.5.3..v2.6.0) (2021-07-07)
412
### Dependencies

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,46 @@ Currently the only available field that you can use with a config file is `api-k
133133

134134
`api-key: MYKEY`
135135

136+
### CLI Autocompletion
137+
`vultr-cli completion` will return autocompletions, but this feature requires setup.
138+
139+
Some guides:
140+
141+
<pre>
142+
<h4>Bash:</h4>
143+
$ source <(yourprogram completion bash)
144+
145+
<b>To load completions for each session, execute once:</b>
146+
<b>Linux:</b>
147+
$ yourprogram completion bash > /etc/bash_completion.d/yourprogram
148+
149+
<b>macOS:</b>
150+
$ yourprogram completion bash > /usr/local/etc/bash_completion.d/yourprogram
151+
152+
<h4>Zsh:</h4>
153+
<b>If shell completion is not already enabled in your environment,
154+
you will need to enable it. You can execute the following once:</b>
155+
156+
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
157+
158+
<b>To load completions for each session, execute once:</b>
159+
$ yourprogram completion zsh > "${fpath[1]}/_yourprogram"
160+
161+
You will need to start a new shell for this setup to take effect.
162+
163+
<h4>fish:</h4>
164+
$ yourprogram completion fish | source
165+
166+
<b>To load completions for each session, execute once:</b>
167+
$ yourprogram completion fish > ~/.config/fish/completions/yourprogram.fish
168+
169+
<h4>PowerShell:</h4>
170+
PS> yourprogram completion powershell | Out-String | Invoke-Expression
171+
172+
<b>To load completions for every new session, run:</b>
173+
PS> yourprogram completion powershell > yourprogram.ps1
174+
<b>and source this file from your PowerShell profile.</b>
175+
</pre>
176+
136177
## Contributing
137178
Feel free to send pull requests our way! Please see the [contributing guidelines](CONTRIBUTING.md).

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ var versionCmd = &cobra.Command{
3131
}
3232

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

0 commit comments

Comments
 (0)