lnx

Crates.iolnx
lib.rslnx
version1.0.0
sourcesrc
created_at2020-05-30 14:26:12.912454
updated_at2022-05-18 16:07:20.265782
descriptionUtility to map lines from stdin onto command arguments to be executed
homepagehttps://github.com/crisidev/lnx
repositoryhttps://github.com/crisidev/lnx
max_upload_size
id247696
size12,012
Matteo Bigoi (crisidev)

documentation

https://docs.rs/lnx

README

LineExec

Release Ci Crates.io Docs.rs Crates.io License

Utility to map lines in stdin onto command arguments to be executed.

Example

❯❯❯ ls -1 | lnx v 'echo $v; echo $v'
Cargo.lock
Cargo.lock
Cargo.toml
Cargo.toml
LICENSE
LICENSE
README.md
README.md
src/
src/
target/
target/

Install

Github Actions releases binaries for various architectures when a new tag is pushed:

  • x84-64 Linux GNU
  • x86-64 Darwin
  • aarch64 Linux GNU
  • armv7 Linux GNU

Alternatively you can install the latest tag directly from crates.io:

❯❯❯ cargo install lnx

Rust version

LineExec builds on both stable and nighly rust.

Platforms support

LineExec has been tested on Linux and MacOSX. It builds also for Windows, but has not been tested

License

See LICENSE file.

Commit count: 11

cargo fmt