cloudstack-cli 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b22ed0cd78d135de76f2016d9e4f9f6d0dae9b3a
4
- data.tar.gz: 035f34a2d3a712a5b73ad5cead88ed593bb66ff9
3
+ metadata.gz: 93bcebb068be81852b7883095fe48c918d3bfd9d
4
+ data.tar.gz: 8cb16f8f2dc45a1197f03ff7a1551d212ec5686a
5
5
  SHA512:
6
- metadata.gz: e9f20c5f34ea889ec211c221c2399b920a9d7d52d99bb9b7f3f49562be89d57d32499755042b547f82d301f5df35cff436cc1bb0e0120a4f54db0b01f91876f7
7
- data.tar.gz: 20e9ae88467b01b2912ee92daaf4fbaa188f43246fc9f195b74e818114daa044404c28c4cf93eecb04580287074fff1946074c4c5c5c8974e803f7115310f769
6
+ metadata.gz: eeec46a44f6e9fe9e177dc1fd40ff7dcee99c0391a9857e795aa983c8b92e6ef765238bcebeaa83e3b506a3267b6ef027531a269e0db545a86d6aefa3bff2113
7
+ data.tar.gz: 12ba20b5201b6ee0de54407773c4104a23d0c1dde22aeb433d0c6dcbec4262958cab418a2a3594b85f108e5c74a5d9598aff528792fb5261c9c1e95a94bf98e4
data/completions/cs.bash CHANGED
@@ -3,7 +3,7 @@
3
3
  # cloudstack-cli
4
4
  # https://github.com/niwo/cloudstack-cli
5
5
  #
6
- # Copyright (c) 2014 Nik Wolfgramm
6
+ # Copyright (c) 2015 Nik Wolfgramm
7
7
  # Licensed under the MIT license.
8
8
  # https://raw.github.com/niwo/cloudstack-cli/master/LICENSE.txt
9
9
 
@@ -12,14 +12,14 @@
12
12
  # To enable bash <tab> completion for cloudstack-cli, add the following line (minus the
13
13
  # leading #, which is the bash comment character) to your ~/.bash_profile file (use ~/.bashrc on Ubuntu):
14
14
  #
15
- # eval "$(cs completion --shell=bash)"
15
+ # eval "$(cloudstack-cli completion --shell=bash)"
16
16
 
17
- _cs() {
17
+ _cloudstack_cli() {
18
18
  COMPREPLY=()
19
19
  local word="${COMP_WORDS[COMP_CWORD]}"
20
20
  # list available base commands
21
21
  if [ "$COMP_CWORD" -eq 1 ]; then
22
- COMPREPLY=( $(compgen -W "$(cs help | grep cs | cut -d ' ' -f4)" -- "$word") )
22
+ COMPREPLY=( $(compgen -W "$(cloudstack-cli help | grep cloudstack-cli | cut -d ' ' -f4)" -- "$word") )
23
23
  else
24
24
  local words=("${COMP_WORDS[@]}")
25
25
  # ignore commands which contain 'help'
@@ -28,7 +28,7 @@ _cs() {
28
28
  # search for subcommand
29
29
  elif [[ "$word" != -* ]] && [ "$COMP_CWORD" -eq 2 ]; then
30
30
  local cp1=$(echo ${words[@]} | cut -d ' ' -f1-2)
31
- COMPREPLY=( $(compgen -W "$($cp1 help | grep cs | cut -d ' ' -f5)" -- "$word") )
31
+ COMPREPLY=( $(compgen -W "$($cp1 help | grep cloudstack-cli | cut -d ' ' -f5)" -- "$word") )
32
32
  # list options for the subcommand
33
33
  elif [[ "$word" =~ -* ]] && [ "$COMP_CWORD" -gt 2 ]; then
34
34
  local cp1=$(echo ${words[@]} | cut -d ' ' -f1-2)
@@ -39,4 +39,5 @@ _cs() {
39
39
  fi
40
40
  }
41
41
 
42
- complete -F _cs cs
42
+ complete -F _cloudstack_cli cs
43
+ complete -F _cloudstack_cli cloudstack-cli
@@ -1,3 +1,3 @@
1
1
  module CloudstackCli
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nik Wolfgramm