replace eb200 with runds

This commit is contained in:
Jakob Ketterl
2021-02-03 03:21:09 +01:00
parent 44270af88f
commit 13eaee5ee9
10 changed files with 21 additions and 20 deletions

18
owrx/source/runds.py Normal file
View File

@@ -0,0 +1,18 @@
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"),
}
)
)