4
0
mirror of git://holbrook.no/eth-monitor.git synced 2024-11-23 12:26:45 +01:00
eth-monitor/eth_monitor/cli/rules.py

17 lines
269 B
Python
Raw Permalink Normal View History

2022-05-10 16:21:49 +02:00
rules_address_args = [
'input',
'output',
'exec',
'address',
]
rules_data_args = [
'data',
'data_in',
]
def to_config_names(v):
v = v.upper()
return ('ETHMONITOR_' + v, 'ETHMONITOR_X_' + v)