lib/kontena/cli/vault/remove_command.rb in kontena-cli-0.16.0.pre5 vs lib/kontena/cli/vault/remove_command.rb in kontena-cli-0.16.0.pre6
- old
+ new
@@ -10,9 +10,11 @@
require_api_url
require_current_grid
confirm_command(name) unless forced?
token = require_token
- client(token).delete("secrets/#{current_grid}/#{name}")
+ spinner "Removing #{name.colorize(:cyan)} from the vault " do
+ client(token).delete("secrets/#{current_grid}/#{name}")
+ end
end
end
end