GitHub - sdkman/sdkman-cli-native: The next generation of SDKMAN! CLI commands, written in Rust
Extracto
The next generation of SDKMAN! CLI commands, written in Rust - sdkman/sdkman-cli-native
Resumen
Resumen Principal
El texto describe la iniciativa de desarrollar componentes nativos de subcomandos CLI para SDKMAN! escritos íntegramente en Rust. Este proyecto tiene como objetivo fundamental mejorar y optimizar el rendimiento de SDKMAN!, el popular gestor de entornos de desarrollo. Los binarios resultantes de este proyecto están diseñados para ser utilizados en conjunto con la función wrapper de shell sdk
proveniente del proyecto sdkman-cli
, asegurando una integración cohesiva y eficiente. Un aspecto crucial es la notable facilidad de instalación para el usuario final: no se requiere ninguna acción manual si se utiliza una de las arquitecturas de sistema operativo soportadas, que incluyen una amplia gama de configuraciones para Linux (aarch64, x86_64, i686), macOS (aarch64, x86_64) y Windows (x86_64). El instalador por defecto se encarga automáticamente de detectar la arquitectura del sistema y de instalar la
Contenido
SDKMAN! Native CLI components
Native CLI subcommand components for SDKMAN! written in Rust. Use the binaries generated
by this project in the sdk
wrapper shell function from the sdkman-cli project.
Getting this on your machine
Nothing needs to be done if you are using one of the following supported architectures:
- aarch64-unknown-linux-gnu
- x86_64-unknown-linux-gnu
- i686-unknown-linux-gnu
- aarch64-apple-darwin
- x86_64-apple-darwin
- x86_64-pc-windows-msvc
The default installer will automatically detect your architecture and install the latest release version on your machine.
Local development setup:
- Install the Rust toolchain with
rustup
. - Build the project with Cargo using
cargo build
- Install the native binaries into the
libexec
folder of your local SDKMAN installation with./install.sh
- Try it out!
$ sdk help $ sdk help [subcommand]
Fuente: GitHub