CodeLieutenant / rust-analyzer-downloader

RAD - Rust Analyzer Downloader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Analyzer Downloader

Motivation

  1. I always wanted to have rust-analyzer in my $HOME/bin folder, from where I could share it with VSCode and NeoVIM (possibly others if I find them in the future). This was done using bash script without any error handling, which failed from time to time, also I wanted to use Rust for some CLI project and have a little bit more practice with the language and ecosystem and this provided perfect opportunity.

  2. Also bash script was not portable to Windows, since i do most of my rust development on Windows PC, this was one deal breaker for me to rewrite the script into Rust.

Usage

rust-analyzer-downloader
Downloads and gets versions for Rust Analyzer

USAGE:
    rust-analyzer-downloader <SUBCOMMAND>

OPTIONS:
    -h, --help    Print help information

SUBCOMMANDS:
    check
    download
    get-versions
    help            Print this message or the help of the given subcommand(s)

Building

cargo build --release

Support

If you are having problems, please let us know by raising a new issue.

License

This project is licensed with the Apache License 2.0.

About

RAD - Rust Analyzer Downloader

License:Apache License 2.0


Languages

Language:Rust 100.0%