Command line interface for the Current API, generated from its OpenAPI schema at runtime
Project description
current-cli
Command line interface for the Current API. Commands are generated at runtime from the bundled OpenAPI schema, so every API operation is available without per-endpoint code.
Install
pip install current-cli
Or from a repo checkout:
cd cli && uv sync
Usage
current login you@example.com
current config set default_workspace <workspace-uuid>
current projects list
current projects retrieve <id>
current tasks create --data '{"name": "Order beams", "workspace": "..."}'
current workspaces members list <workspace_id>
The CLI points at https://api.current.orinlabs.ai by default. For local
development, run current config set base_url http://localhost:8000.
Run current --help (or --help on any subcommand) to see everything the
API exposes. current docs prints a markdown reference of every command;
the committed copy lives at llms.txt — hand it to an LLM that
needs to drive the CLI.
Development
cd cli
uv sync
uv run pytest
uv run ruff check . && uv run ruff format --check .
The bundled schema (current_cli/schema.yml) is a copy of api/schema.yml,
kept in sync by api/scripts/generate.sh. Point the CLI at a different schema
with --schema <path-or-url> or CURRENT_SCHEMA.
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 current_cli-0.1.13.tar.gz.
File metadata
- Download URL: current_cli-0.1.13.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef769bd5bb4b184db698082a32f39143c4b8a0ae397bdd08bb9eae69c4bcc3c8
|
|
| MD5 |
9c64f3e984304577a370d6a4a5e01b15
|
|
| BLAKE2b-256 |
a3f2945647531f2b04c365f6a9adc3d74e8d22143cfac8490d321441a6314b42
|
Provenance
The following attestation bundles were made for current_cli-0.1.13.tar.gz:
Publisher:
publish-cli.yml on orinlabs/current
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
current_cli-0.1.13.tar.gz -
Subject digest:
ef769bd5bb4b184db698082a32f39143c4b8a0ae397bdd08bb9eae69c4bcc3c8 - Sigstore transparency entry: 2229629846
- Sigstore integration time:
-
Permalink:
orinlabs/current@911caab0822378a84b61973532db79c49ef4375d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/orinlabs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cli.yml@911caab0822378a84b61973532db79c49ef4375d -
Trigger Event:
push
-
Statement type:
File details
Details for the file current_cli-0.1.13-py3-none-any.whl.
File metadata
- Download URL: current_cli-0.1.13-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce61aa241b5ae7a91204bbaf1377aab37e82d505756477f938a7fe6708cb54cb
|
|
| MD5 |
7278a5a421ca2628a060213a6bbc7d3e
|
|
| BLAKE2b-256 |
4939c8b44988d59c1daf2c6851a70cdb92acf67c0bd6311c86af1af46b1cefa4
|
Provenance
The following attestation bundles were made for current_cli-0.1.13-py3-none-any.whl:
Publisher:
publish-cli.yml on orinlabs/current
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
current_cli-0.1.13-py3-none-any.whl -
Subject digest:
ce61aa241b5ae7a91204bbaf1377aab37e82d505756477f938a7fe6708cb54cb - Sigstore transparency entry: 2229629939
- Sigstore integration time:
-
Permalink:
orinlabs/current@911caab0822378a84b61973532db79c49ef4375d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/orinlabs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cli.yml@911caab0822378a84b61973532db79c49ef4375d -
Trigger Event:
push
-
Statement type: