Skip to content

Feature: Prevent downloading and installing already installed tools via --version #207

@sandreas

Description

@sandreas

Hello,

sorry to bother you again, I really like this tool and had another idea of improving.

Since I'm using dra in a script to install all my tools, it would be really great, if I could make dra prevent downloading and installing a version lower or equal the already installed version.

Example:

# dra download -a --install --output /home/andreas/bin/ --version=0.16.5 restic/restic
dra download -a --install --output "$HOME/bin/" --version="$(restic version | cut -d ' ' -f 2)" restic/restic

This will skip any download or installation of version lower than equal 0.16.5 (the currently installed one).

Hope you like it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions