More options for config location, e.g. XDG_CONFIG_HOME

Open
#81 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
cli

Research direction

Start in cmd/init.go around line 71, where the current home-directory configuration location is handled. Review how configuration paths are selected, then add support for XDG_CONFIG_HOME and %APPDATA% on the relevant systems. Done means the CLI can discover configuration from these standard locations across systems.

Written by the indexing model from the issue text.

Description

Would be nice if more standard locations such as XDG_CONFIG_HOME (on all systems) or %APPDATA% (on Windows} were supported for easier cross-system configuration. Currently as I see only home dir is supported: https://github.com/VirusTotal/vt-cli/blob/bfea504b6b0c26a95f85aa9fd32fa0f6d939fe46/cmd/init.go#L71

Dominant language
Go
Stars
1.5k
Forks
147
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VirusTotal/vt-cli

All issues in VirusTotal/vt-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.