You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
252 B
Plaintext
12 lines
252 B
Plaintext
4 years ago
|
import { _, RestOfLine } from "../primitives"
|
||
|
|
||
|
RootScan
|
||
|
= devices:ScanDevice* {
|
||
|
return { devices: devices };
|
||
|
}
|
||
|
|
||
|
ScanDevice 'scanned device'
|
||
|
= path:$[^ ]+ _ "-d" _ interface_:$[^ ]+ _ RestOfLine {
|
||
|
return { path: path, interface: interface_ };
|
||
|
}
|