openwebrx-clone/owrx/source/eb200.py
2021-01-20 17:01:46 +01:00

18 lines
437 B
Python

from owrx.source.connector import ConnectorSource
from owrx.command import Argument, Flag
class Eb200Source(ConnectorSource):
def getCommandMapper(self):
return (
super()
.getCommandMapper()
.setBase("eb200_connector")
.setMappings(
{
"long": Flag("-l"),
"remote": Argument(),
}
)
)