Skip to main content

WARG autonomy monorepo developer CLI

Project description

WARG CLI

warg-cli provides the warg command for working with the WARG autonomy monorepo. It reads the root projects.toml, loads each project's warg.toml, resolves project dependencies, manages Git sparse-checkout paths, and runs project-defined commands.

Installation

Install from PyPI:

uv tool install warg-cli

Commands

Clone the WARG monorepo with sparse checkout enabled:

warg clone
warg clone autonomy-monorepo
warg clone git@github.com:warg/autonomy-monorepo.git

Only root files such as README.md and projects.toml are checked out initially. Project directories stay absent until they are materialized. When called without a repository, warg clone opens a searchable list of repositories in the UWARG GitHub organization, sorted by most recently updated first. You can also pass a UWARG repository name instead of a full clone URL.

List registered projects:

warg list

Materialize a project and its dependencies:

warg up gesture_control

Inspect a project's manifest metadata:

warg info gesture_control

Run commands defined in a project's warg.toml:

warg run camera test
warg run camera test:unit
warg run mavlink_comm lint -- --fix

If warg up or warg run is called without a project or command where one can be selected interactively, the CLI prompts for a choice.

Project commands

The CLI does not hardcode command names such as test, lint, or run. Projects define their own command surface in warg.toml:

[commands]
setup = "uv sync"
test = "uv run pytest"
run = "uv run python -m gesture_control"
lint = "uv run ruff check ."

warg up <project> runs setup for newly materialized projects and their dependencies. Use warg up <project> --force to rerun setup commands.

Development

From the monorepo root directory:

warg run warg_cli setup
warg run warg_cli test
warg run warg_cli run -- --help

The package exposes the CLI entry point from pyproject.toml:

[project.scripts]
warg = "cli:app"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

warg_cli-0.1.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

warg_cli-0.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file warg_cli-0.1.0.tar.gz.

File metadata

  • Download URL: warg_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for warg_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 31ee8f47c8f14b17e3e767b74016e0419c625f723ed176a1f9764c91debaf496
MD5 74fe1ed8950611440dae83beaffaf98a
BLAKE2b-256 ef9f0679ea5e47d5f9a6c6f2707baaaa94cec8577f39b67669046813bd54116b

See more details on using hashes here.

Provenance

The following attestation bundles were made for warg_cli-0.1.0.tar.gz:

Publisher: publish-warg-cli.yml on UWARG/autonomy-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file warg_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: warg_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for warg_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b799a3549209472308ccc7d83e4b4295ff907b132d677c7ca1bd5b1865298fea
MD5 10d06c57e016e76849417fa4ebfcffc7
BLAKE2b-256 6cddbdd7f660a75d1a9414818dfe4ee88d18e5bf00226e33e1be5c603c3d67bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for warg_cli-0.1.0-py3-none-any.whl:

Publisher: publish-warg-cli.yml on UWARG/autonomy-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page