Skip to content
Anthony Truskinger edited this page May 28, 2021 · 1 revision

Concept: new CLI interfaces

Features:

- batch processing
- remote audio download
- multi analysis
- HPC support
AP
    analyze
        <file spec...>
        <-c <config or analysis name or file>...>
        -o <output dir>
    job create
        -j <job file>
        --
        <analyze arguments>
    job enqueue
        -j <job file>
        -p <PBS arguments>
    job run 
        -j <job file>
        -i <index>
    workbench login
    workbench download segments
        <workbench query...>
        [<workbench details>]
        -o <output dir>
    workbench download recordings
        <workbench query...>
        [<workbench details>]
        -o <output dir>

Where <file spec> can be:

file spec ::= path | glob | workbench query

Where <workbench query> can be:

workbench query ::= literal json | path to json | shortcut syntax
shortcut syntax ::= condition_list, [condition_list, ...]
condition_list ::= filter_field ((operator value) | (array_operator array))
operator ::= "=" | "!=" | ">=" | "<="  | ">=" | "<="
array operator ::= "<in>" | "<notin>"
array ::= "[" [value , ...] "]"
value ::= [A-Za-z0-9 ...]
field ::= "project" | "site" | "point" | "recording_start" | /* TODO */

Clone this wiki locally