WIP Add last arg to man maps and specs, arg flags settable through cli

This commit is contained in:
lash 2022-02-21 23:43:57 +00:00
parent 8d962e1a27
commit 393bbd2fc2
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
import sys
from hexathon import strip_0x
from chainlib.cli.man import DocGenerator
g = DocGenerator(0xffffffff)
b = bytes.fromhex(strip_0x(sys.argv[1]))
g = DocGenerator(int.from_bytes(b, byteorder='little'))
g.process()
print(g)