Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Hasnep/version
🦀 The blazing fast way to check what version of grep you're using, written in Rust
https://github.com/Hasnep/version
version
Last synced: about 1 month ago
JSON representation
🦀 The blazing fast way to check what version of grep you're using, written in Rust
- Host: GitHub
- URL: https://github.com/Hasnep/version
- Owner: Hasnep
- License: mit
- Created: 2021-09-18T17:13:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-27T02:54:43.000Z (about 1 year ago)
- Last Synced: 2024-08-02T05:23:16.591Z (4 months ago)
- Topics: version
- Language: Rust
- Homepage: https://ha.nnes.dev/projects/version
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazingly-fast - version - 🦀 The blazing fast way to check what version of grep you're using, written in Rust (Rust)
README
# Version
The blazing fast way to check what version of grep you're using, written in Rust.
This is a Rust rewrite of the [`version`](https://github.com/bit101/version) tool written by [Keith Peters](http://www.bit-101.com/).
I wanted to write a complete project in Rust that I would actually find useful, and I thought it would be funny to rewrite such a simple tool in Rust.
The code is super messy for now, I just got the main functionality working and am going back to refactor it into something maintainable.## Usage
To get the version of a tool, use:
```shell
version
```For example:
```text
$ version python3
Command: python3 -V
Python 3.9.5
```To get a list of all the tools that `version` knows about, run:
```shell
version --list
```## Installation
If you don't have the Rust toolchain, you can install it using [rustup](https://rustup.rs), then run:
```shell
cargo install --git "https://github.com/Hasnep/version.git"
```## Licencing
This project is released under the MIT Licence found in the [licence file](LICENCE).
It also uses code from Keith Peters' project [`version`](https://github.com/bit101/version), licenced under the MIT Licence, which can be found the [project's repository](https://github.com/bit101/version/blob/master/LICENSE) or in the file [`LICENCE-bit101`](LICENCE-bit101).