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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31ee8f47c8f14b17e3e767b74016e0419c625f723ed176a1f9764c91debaf496
|
|
| MD5 |
74fe1ed8950611440dae83beaffaf98a
|
|
| BLAKE2b-256 |
ef9f0679ea5e47d5f9a6c6f2707baaaa94cec8577f39b67669046813bd54116b
|
Provenance
The following attestation bundles were made for warg_cli-0.1.0.tar.gz:
Publisher:
publish-warg-cli.yml on UWARG/autonomy-monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
warg_cli-0.1.0.tar.gz -
Subject digest:
31ee8f47c8f14b17e3e767b74016e0419c625f723ed176a1f9764c91debaf496 - Sigstore transparency entry: 1571744360
- Sigstore integration time:
-
Permalink:
UWARG/autonomy-monorepo@5b636cb990f309d873e4a343ff75e9865ccd2ad0 -
Branch / Tag:
refs/tags/warg-cli/v0.1.0 - Owner: https://github.com/UWARG
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-warg-cli.yml@5b636cb990f309d873e4a343ff75e9865ccd2ad0 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b799a3549209472308ccc7d83e4b4295ff907b132d677c7ca1bd5b1865298fea
|
|
| MD5 |
10d06c57e016e76849417fa4ebfcffc7
|
|
| BLAKE2b-256 |
6cddbdd7f660a75d1a9414818dfe4ee88d18e5bf00226e33e1be5c603c3d67bf
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
warg_cli-0.1.0-py3-none-any.whl -
Subject digest:
b799a3549209472308ccc7d83e4b4295ff907b132d677c7ca1bd5b1865298fea - Sigstore transparency entry: 1571744381
- Sigstore integration time:
-
Permalink:
UWARG/autonomy-monorepo@5b636cb990f309d873e4a343ff75e9865ccd2ad0 -
Branch / Tag:
refs/tags/warg-cli/v0.1.0 - Owner: https://github.com/UWARG
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-warg-cli.yml@5b636cb990f309d873e4a343ff75e9865ccd2ad0 -
Trigger Event:
push
-
Statement type: