An open API service indexing awesome lists of open source software.

https://github.com/sergeysova/awaitfor

Command line program to await for service is up.
https://github.com/sergeysova/awaitfor

Last synced: 11 months ago
JSON representation

Command line program to await for service is up.

Awesome Lists containing this project

README

          

# Await/For

Command line program to await for service is up.

## Purpose

```bash
npm i -g awaitfor

await http://dev.mysuperservice.com
```

Start checking every 1 second by default

```
Check address: http://dev.mysuperservice.com
#1 Nothing...
#2 Nothing...
#3 Nothing...
#4 Nothing...
#5 Nothing...
#6 Nothing...
#7 Nothing...
--- Address http://dev.mysuperservice.com is available!!! Notify
```

And show notification with [node-notifier](http://npmjs.com/node-notifier)

## Seconds

You can specify seconds:

```bash
await http://service.com 5
```

```
Check address: http://service.com
Wait 5 seconds before try

#1 Nothing...
#2 Nothing...
```

## help

So you can view small help.

```bash
await -h
# or
await --help
```