mcpField
C
cli-batches

cli-batches

github.com/diegosouzapwData & databases82.6k891 installsUpdated today
Repository

About cli-batches

cli-batches is an omniroute CLI skill for submitting and monitoring batch inference jobs and managing files used in processing. It also supports integrating batch pipelines with CI/CD workflows.

Key features

  1. 01Create, submit, and cancel batches
  2. 02List batches and inspect their status
  3. 03Wait for jobs to finish
  4. 04Retrieve outputs and error results
  5. 05Upload, inspect, and delete files

Use cases

  1. 01Submit batch inference jobs from the CLI
  2. 02Monitor batch status and wait for completion
  3. 03Run batch processing in CI/CD workflows
  4. 04Download job outputs or error files

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/diegosouzapw/omniroute --skill cli-batches

After installing, type/cli-batchesin Claude Code to confirm it loaded.

Details

From the project README

Overview

Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

batches

Example:

omniroute batches
batches list

Flags:

  • --status <s>
  • --limit <n>

Example:

omniroute batches list
batches get <batchId>

Example:

omniroute batches get <batchId>
batches create

Flags:

  • --input-file <fileId>
  • --endpoint <e>
  • --completion-window <w>
  • --metadata <kv>

Example:

omniroute batches create
batches submit

Flags:

  • --jsonl <path>
  • --endpoint <e>
  • --wait

Example:

omniroute batches submit
batches cancel <batchId>

Flags:

  • --yes

Example:

omniroute batches cancel <batchId>
batches wait <batchId>

Flags:

  • --timeout <ms>

Example:

omniroute batches wait <batchId>
batches output <batchId>

Flags:

  • --out <path>

Example:

omniroute batches output <batchId>
batches errors <batchId>

Flags:

  • --out <path>

Example:

omniroute batches errors <batchId>
files

Example:

omniroute files
files list

Flags:

  • --purpose <p>
  • --limit <n>

Example:

omniroute files list
files get <fileId>

Example:

omniroute files get <fileId>
files upload <path>

Flags:

  • --purpose <p>

Example:

omniroute files upload <path>
files content <fileId>

Flags:

  • --out <path>

Example:

omniroute files content <fileId>
files delete <fileId>

Flags:

  • --yes

Example:

omniroute files delete <fileId>

Comments

Markdown supported