Skip to content

An experimental project of i-read-u reimplementation in Rust.

License

Notifications You must be signed in to change notification settings

s2terminal/i-read

Repository files navigation

I read

Extracting commands from README markdown file. This is Rust version of "I read you (ireadu)".

Supported on Linux and Windows Subsystems for Linux.

Install

$ curl --silent https://raw.githubusercontent.com/s2terminal/i-read/main/install.sh | sudo /bin/sh

or get binary.

Uninstall

$ rm --interactive /usr/local/bin/iread

ARM Support (Experimental)

$ rustup target add `uname --machine`-unknown-linux-musl
$ cargo build --release --target `uname --machine`-unknown-linux-musl
$ sudo mv ./target/`uname --machine`-unknown-linux-musl/release/i-read /usr/local/bin/iread

Usage

$ iread
$ iread ./CONTRIBUTING.md

More usage information can be obtained from $ iread --help.

Sample Commands (Try ireadu command and hit this)

$ pwd
$ ls -la
> w
>id

Developing

git clone and run this.

$ cargo run

You can use also Docker and VS Code Remote Container for developing without installing Rust in your environment.

Testing (wip)

$ cargo check

Check outdated dependencies

$ cargo outdated --depth 1

License

MIT.