$ mix local.hex --force
$ mix local.rebar --force
$ mix escript.install hex gver_diff
$ export PATH=~/.mix/escripts:$PATH
$ gver_diff \
--type date \
--regx "dev-(?<version>.*)" \
dev-20111223 gt dev-20111224
false
$ docker run --rm -it \
mentol310/gver_diff:0.0.2 \
/app/gver_diff \
--type date \
--regx "dev-(?<version>.*)" \
dev-20111223 gt dev-20111224
false
specified type
option
- integer
- string
- float
- date
- Ymd, Y-m-d
- 20120506, 2012-05-06
- datetime
- Y-m-d H:i:s
- 20120405 12:13:14
- version
- x.y.z