vultr-cli icon indicating copy to clipboard operation
vultr-cli copied to clipboard

[BUG] CLI writes empty config file

Open alexgmathews opened this issue 1 year ago • 1 comments
trafficstars

Steps To Reproduce

  1. Operating System: Debian 12 x86_64
  2. Vultr-CLI Binary: vultr-cli_v3.4.0_linux_amd64 installed to /usr/local/sbin/vultr-cli with owner/group root:root and permissions 700
  3. Shell Environment: bash, root user (command executed directly as root / not prefixed by sudo)
  4. Command: $ vultr-cli account

Result Vultr-CLI creates an empty file /root/.vultr-cli.yaml.

Expected Behavior Vultr-CLI should not create the file nor write to .vultr-cli.yaml unless that becomes a defined function of the CLI and is explicitly called.

alexgmathews avatar Nov 18 '24 20:11 alexgmathews