Closed
Description
arduino-cli standalone install looks for .cli-config.yml in wrong location
arduino-cli looks for .cli-config.yml in wrong location when installing a standalone arduino-cli binary into /usr/bin/
In the above case it looks for /usr/bin/.cli-config.yml - and does not even try to look inside my home dir
See the debug output:
# arduino-cli board listall --debug
INFO[0000] Initiating configuration
INFO[0000] Unserializing configurations from /usr/bin/.cli-config.yml
WARN[0000] Error reading config, using default configuration error="open /usr/bin/.cli-config.yml: no such file or directory"
WARN[0000] Did not manage to get config file, using default configuration error="open /usr/bin/.cli-config.yml: no such file or directory"
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: /usr/bin
INFO[0000] CLI is not bundled into the IDE
INFO[0000] Configuration set
INFO[0000] Starting root command preparation (`arduino`)
INFO[0000] Formatter set
INFO[0000] Loading the default Package index
Board Name FQBN