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