18 lines
437 B
Python
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(),
|
|
}
|
|
)
|
|
)
|