#ip #hex #binary #cli #tool

bin+lib b0x

A simple CLI tool to display information about the provided input (integers, IP addresses, strings)

13 releases (6 breaking)

✓ Uses Rust 2018 edition

0.7.2 Dec 31, 2018
0.6.0 Dec 7, 2018
0.5.0 Oct 19, 2018

#167 in Encoding

Download history 19/week @ 2018-10-22 2/week @ 2018-10-29 92/week @ 2018-11-05 36/week @ 2018-11-12 27/week @ 2018-11-19 18/week @ 2018-11-26 36/week @ 2018-12-03 28/week @ 2018-12-10 15/week @ 2018-12-17 23/week @ 2018-12-24 43/week @ 2018-12-31 14/week @ 2019-01-07 22/week @ 2019-01-14

142 downloads per month

MIT license

16KB
365 lines

❮b0x❯

version downloads license

A simple CLI tool to display information about the provided input (integers, IP addresses, strings).

Installation

$ cargo install b0x

Updating

$ cargo install b0x --force

Usage

$ b0x <input>...

Supported data types:

  • IP addresses
    • IPv4: 127.0.0.1
    • IPv6: 2606:4700:4700::1111
  • Unsigned integers
    • Binary: 0b101010
    • Octal: 0o52
    • Hexadecimal: 0x2A
    • Decimal: 42
  • Strings

See the built-in help for more information:

$ b0x --help

Examples

$ b0x 127.0.0.1 2606:4700:4700::1111

screenshot/ip

$ b0x 0xC0FFEE

screenshot/int

$ b0x "TeSt StRiNg"

screenshot/str

Dependencies

~2MB
~34K SLoC