iptool
Console tool for calculate subnet by first and last IPv4. IPtool heavily based on great library Subnet by Chris Watson.
Installation
git clone https://github.com/creadone/iptool && cd iptool && shards build --release
Usage
echo '173.194.0.0 - 173.194.255.255' | ./bin/iptool
#=> 173.194.0.0/16
Development
TODO Write development instructions here
Contributing
- Fork it (https://github.com/creadone/iptool/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Creadone - creator and maintainer