2022-02-22 00:43:57 +01:00
|
|
|
import sys
|
|
|
|
from hexathon import strip_0x
|
2022-02-22 00:30:30 +01:00
|
|
|
from chainlib.cli.man import DocGenerator
|
|
|
|
|
2022-02-22 00:43:57 +01:00
|
|
|
b = bytes.fromhex(strip_0x(sys.argv[1]))
|
|
|
|
g = DocGenerator(int.from_bytes(b, byteorder='little'))
|
2022-02-22 00:30:30 +01:00
|
|
|
g.process()
|
|
|
|
print(g)
|