Invis1bleReborn / whatismyip

Hello Scala! Simple WhatIsMyIpAddress Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What Is My IP

Simple WhatIsMyIpAddress CLI Client.

Usage

whatismyip 1.3.0
Usage: whatismyip [options]

-f, --file <value>      Output file (will be created if not exists)
-i, --interval <value>  update interval (in Scala's Duration format)
--help                  prints this usage text
--version

Examples

Check and print every 1 minute (default behaviour)

sbt run

Write to the file instead of stdout

sbt "run --file=/tmp/whatismyip"

Use the custom interval

sbt "run --interval=2.minutes --file=/tmp/whatismyip"

See scala.concurrent.duration.DurationConversions for possible interval durations.

About

Hello Scala! Simple WhatIsMyIpAddress Client

License:MIT License


Languages

Language:Scala 100.0%