Skip to content

Libraries installation/uninstallation name inconcistency #362

Closed
@Renaud11232

Description

@Renaud11232

Bug Report

The name to use when installing or uninstalling libraries is inconsistent

Current behavior

Installing libraries work as intented. ie:

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib install "LiquidCrystal I2C"
Downloading LiquidCrystal [email protected]...
LiquidCrystal [email protected] already downloaded
Installing LiquidCrystal [email protected]...
Installed LiquidCrystal [email protected]

But trying to remove the library using the name used when installing, does not always remove the library.

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib uninstall "LiquidCrystal I2C"
Library LiquidCrystal I2C is not installed

In this case I had to replace the space with a _

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib uninstall "LiquidCrystal_I2C"
Uninstalling [email protected]...

Expected behavior

The libraries should be installed and uninstalled using the same name

Environment

CLI version

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe version
arduino-cli.exe Version: 0.4.0 Commit: =98b7be9

OS/Platform

Windows 10 Pro build 1903

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions