WIP add enviornment support
This commit is contained in:
14
chainlib/eth/runnable/flags.py
Normal file
14
chainlib/eth/runnable/flags.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# standard imports
|
||||
import sys
|
||||
|
||||
# external imports
|
||||
import chainlib.eth.cli
|
||||
from hexathon import add_0x
|
||||
|
||||
cmds = {
|
||||
'gas': chainlib.eth.cli.argflag_std_write | chainlib.eth.cli.Flag.WALLET,
|
||||
}
|
||||
|
||||
if __name__ == '__main__':
|
||||
b = cmds[sys.argv[1]]
|
||||
print(add_0x(hex(b)))
|
||||
Reference in New Issue
Block a user