Skip to content

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

Closed
@kittaakos

Description

@kittaakos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions