Comments (4)
@nifr Thanks for the report. This is something that has been on the todo list for a long time. I'll see about adding a patch for these commands at least.
from vultr-cli.
@optik-aper just came back here and I was amazed by your crazy response time.
Thank you so much for the quick response and for looking into this.
I discovered another important sub-command (completion
) that fails if VULTR_API_KEY
is unset.
source <(vultr-cli completion bash)
Errors out (obviously) as follows:
bash: api-key: command not found
bash: Please: command not found
Note: This also reveals that the error/warning message goes to stdout instead of stderr. Intended?
Current workaround for bash
, zsh
, [..] for anyone who ends up here until this issue resolved:
if command -v vultr-cli >/dev/null 2>&1; then
source <(VULTR_API_KEY='workaround' vultr-cli completion "${SHELL##*/}")
fi
from vultr-cli.
I appreciate the additional info! I have a working fix on this, but I need to re-organize some of the code to make sure auth-required commands warn the user. Hopefully I'll have some time this week to wrap that part up.
from vultr-cli.
Note: This also reveals that the error/warning message goes to stdout instead of stderr. Intended?
I missed this in my first read, sorry. That is how it's currently intended/designed but could be changed. I'll have to think about whether that makes sense to change and try experiments.
from vultr-cli.
Related Issues (20)
- [BUG] - vultr-cli plans list does not work HOT 2
- Vultr-cli crashes inside cloud-init HOT 1
- [Feature] - ARM6 build for Raspberry Pi HOT 4
- [BUG] - vultr-cli instance user-data get <instance-id> returns error HOT 3
- [DOC] - document the default location of the config file
- [BUG] - Option plans list HOT 5
- [BUG] - Composer detected issues in your platform. Your Composer dependencies require a PHP version > HOT 2
- Reporting a vulnerability HOT 1
- [Feature] - Allow attach and detach of VPC from an existing instance
- Docker usage docs should be in the readme HOT 1
- Allow creating custom ISO via CLI HOT 1
- [BUG] - API requirement for bash completion HOT 1
- [Feature] - Allow update of bare metal user data without reading from a file
- [BUG] - Load balancer rule create command doesn't work
- [Feature] - Omit the `-cli` suffix? (not the repository) HOT 1
- Can't create bare metal instance HOT 2
- [Feature] - iPXE
- Expose "enable firewall" option for kubernetes create command HOT 1
- [BUG] - read_write isn't being passed on Docker Credentials Create
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vultr-cli.