Crates.io | strip-ansi-cli |
lib.rs | strip-ansi-cli |
version | 0.1.0 |
source | src |
created_at | 2020-09-11 13:16:59.008266 |
updated_at | 2020-12-25 11:02:27.373414 |
description | Strip ANSI escape sequences from text |
homepage | |
repository | https://github.com/KSXGitHub/strip-ansi-cli.git |
max_upload_size | |
id | 287365 |
size | 13,588 |
Strip ANSI escape sequences from text.
ls --color=always | strip-ansi
strip-ansi "$(ls --color=always)"
strip-ansi --help
Make sure to have cargo
and rustc
installed. If not, you may install it using rustup.
Clone this repository.
Run cargo build --release --locked
in the repo root.
The binary should be created at $REPO_DIR/target/release/strip-ansi
.
Go to the Release Page and find file whose name contains strip-ansi
and your platform name.
cargo install strip-ansi-cli
yay -S strip-ansi
yay -Ss strip-ansi-bin