Skip to content

[BUG] CLI writes empty config file #493

@alexgmathews

Description

@alexgmathews

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions