16 lines
395 B
Python
Raw Normal View History

2020-11-30 00:34:44 +01:00
from owrx.source.connector import ConnectorSource
2020-12-01 14:14:52 +01:00
from owrx.command import Argument, Flag
2020-11-30 00:34:44 +01:00
class Eb200Source(ConnectorSource):
def getCommandMapper(self):
return (
super()
.getCommandMapper()
.setBase("eb200_connector")
.setMappings({
2020-12-01 14:14:52 +01:00
"long": Flag("-l"),
2020-11-30 00:34:44 +01:00
"remote": Argument(),
})
)