Skip to content

arduino-cli config dump returns nothing #2835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
mvandere opened this issue Feb 12, 2025 · 1 comment
Closed
3 tasks done

arduino-cli config dump returns nothing #2835

mvandere opened this issue Feb 12, 2025 · 1 comment
Assignees
Labels
conclusion: invalid Issue/PR not valid conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@mvandere
Copy link

Describe the problem

arduino-cli config dump
returns nothing
or at least just
{}
This is in version 1.1.1, It definitely worked in an earlier Arduino r2 release, but I can't find a way to download earlier versions to work out when it broke.

To reproduce

As per above

Expected behavior

Can't get a working version so I can't say exactly, but it use to definitely return
data: (path to arduino15 folder)
user: (path to default user save folder)
as well as other things

Arduino CLI version

1.1.1

Operating system

Windows

Operating system version

10

Additional context

BTW I couldn't check against the nightly build as my browser times out trying to access it.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@mvandere mvandere added the type: imperfection Perceived defect in any part of project label Feb 12, 2025
@per1234 per1234 self-assigned this Feb 12, 2025
@per1234 per1234 added the topic: code Related to content of the project itself label Feb 12, 2025
@per1234
Copy link
Contributor

per1234 commented Feb 12, 2025

Hi @mvandere. This was an intentional change which was introduced in Arduino CLI 1.0.0. It is documented in the migration guide for that release:

https://arduino.github.io/arduino-cli/dev/UPGRADING/#config-dump-no-longer-returns-default-configuration-values

As explained there, it is now necessary use config get to get the effective value of configuration keys which are being set implicitly via the defaults.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2025
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Feb 12, 2025
@cmaglie cmaglie added the conclusion: resolved Issue was resolved label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants