openwebrx-clone/owrx/source/runds.py
2021-02-03 03:21:09 +01:00

19 lines
491 B
Python

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