Skip to content

[enhancement] Improve the stdout of the config init --dest-dir command #586

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
kittaakos opened this issue Feb 19, 2020 · 0 comments · Fixed by #595
Closed

[enhancement] Improve the stdout of the config init --dest-dir command #586

kittaakos opened this issue Feb 19, 2020 · 0 comments · Fixed by #595
Labels
type: enhancement Proposed improvement

Comments

@kittaakos
Copy link
Contributor

Bug Report Enhancement request

The config file creation works as expected, it is not a bug report.

Current behavior

I spotted a minor inconsistency in the stdout. Preferably, I want to always see the absolute path of the newly created config file:

If I run the init command with . destination directory:

./arduino-cli config init --dest-dir .        
Config file written to: arduino-cli.yaml

If I run the init command with ~/Desktop dest dir:

./arduino-cli config init --dest-dir ~/Desktop
Config file written to: /Users/akos.kitta/Desktop/arduino-cli.yaml

Expected behavior

pwd
/path/to/your/cwd
./arduino-cli config init --dest-dir .        
Config file written to: /path/to/your/cwd/arduino-cli.yaml

Environment

  • CLI version (output of arduino-cli version): I built it from the source: bc8e073
  • OS and platform: macOS

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants