Skip to content

Revision of the functionality of global tool commandlets #1868

@jakozian

Description

@jakozian

Feature idea

As an IDEasy user i want to use global tools (so non-portable, machine-wide installations) as i am already doing with local tools. That means using the IDEasy cli to wrap the tools functionality (if possible and useful).

At the moment there are only two global tools with pgadmin and docker (Rancher-/Docker-Desktop) and i can only install and maybe run them if i am lucky. Things like get-version, get-edition, uninstall and install are not handled or mal-handled.

Instead of hard coding these functionalities into the respective sub class of GlobalToolCommandlet it would be useful for the future to find generic implementations for each OS and think about how the global commandlets can be revisioned. Some tools may have individual ways and even better ways than generic solutions but nonetheless the workflow of global tools has to be reconsidered.

Additional context

https://github.com/devonfw/IDEasy/blob/main/cli/src/main/java/com/devonfw/tools/ide/tool/docker/Docker.java
https://github.com/devonfw/IDEasy/blob/main/cli/src/main/java/com/devonfw/tools/ide/tool/pgadmin/PgAdmin.java
https://github.com/devonfw/IDEasy/blob/main/cli/src/main/java/com/devonfw/tools/ide/tool/GlobalToolCommandlet.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    Epicsomething big that needs to be split into smaller stories (issues)commandletide sub-commanddockerdocker and esp. DockerDesktopenhancementNew feature or requestinstallinstallation process of IDE + tools and install commandletpgadminpostgres admin UI integrationprocessexecuting external programs (ProcessContext)rancherRancher-Desktopuninstalluninstall tools or IDEasy itselfversionversion handling (including -v or --version)

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions