Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hallerpatrick/entrs
Port of entr in Rust
https://github.com/hallerpatrick/entrs
Last synced: 28 days ago
JSON representation
Port of entr in Rust
- Host: GitHub
- URL: https://github.com/hallerpatrick/entrs
- Owner: HallerPatrick
- License: mit
- Created: 2020-05-10T19:28:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-10T20:04:14.000Z (over 4 years ago)
- Last Synced: 2024-12-08T18:04:55.102Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Entrs
Entrs is a port of the classic entr utility
Entr is a file watch utilty that executes provided comments on file changes
## Installation
### Manual
```
git clone https://github.com/HallerPatrick/entrs.git && cd entrs# Run directly or
cargo run# Build binary (in ./target/release/entr )
cargo build --release```
### Cargo
```
cargo install entrs
```### Pre-Build Binary
Can be found in Releases
## Usage
```
USAGE:
entrs [FLAGS] [utility]...ARGS:
...FLAGS:
-c Clear screen before executing utility
-h, --help Prints help information
-p Execute utility first after files have changed
-r Watch for file changes recursively
-u Evaluate the first argument using the interpreter specified by the SHELL environment variable
-V, --version Prints version information
```### Example
Rebuild the cargo project after file saving and clear the screen before executing `cargo build`
```
$ ls | entr -c cargo build
```