morca · API · views

orca.views.commands

The orca command lines the pages show beside their buttons, so what the UI does can be done from a shell, quoted for sh.

Functions

cancel_cli

def cancel_cli(r: RunRow) -> String

retry_cli

def retry_cli(r: RunRow) -> String

shell_quote

def shell_quote(s: StringSpan) -> String

s as one shell word: as it is if it's only letters, digits and -_.,:/@=+%, else in single quotes.

backfill_cmd

def backfill_cmd(name: String, keys: String, rerun: Bool) -> String

orca backfill [--rerun] <pipeline> <keys>, as orca reads it.

remote_cmd

def remote_cmd(cmd: String, url: String = "<url>") -> String

cmd, an orca ... line, against the UI at url from anywhere: orca login <url> && orca --remote <url> .... The pages show <url>, which their script makes the address the page was loaded from.

run_cmd

def run_cmd(binary: String, keys: String) -> String

The binary's run --partitions <keys>: one run, in that process.

rebuild_cmd

def rebuild_cmd(dataset: String, keys: String) -> String

orca rebuild <dataset> <keys>, as orca reads it.