wait-on

Crates.iowait-on
lib.rswait-on
version0.0.12
sourcesrc
created_at2024-04-04 02:03:23.456128
updated_at2024-11-14 23:51:51.180752
descriptionLibrary and CLI Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets
homepagehttps://github.com/EstebanBorai/wait-on
repositoryhttps://github.com/EstebanBorai/wait-on
max_upload_size
id1195772
size75,337
Esteban Borai (EstebanBorai)

documentation

README

wait-on

Library and CLI Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets

Crates.io Documentation Build Clippy Formatter

Installation

cargo install wait-on

Usage

Wait for a file to exist or exit with code 1 if 10m elapses waiting

wait-on -t 10m file /path/to/file

Wait for a HTTP Resource to respond

wait-on http GET https://example.com

Wait for a Socket to be available using TCP Protocol

wait-on tcp -i 127.0.0.1 -p 8080

License

This project is licensed under the MIT license and the Apache License 2.0.

Commit count: 28

cargo fmt