mirror of
https://github.com/katanemo/plano.git
synced 2026-05-21 13:55:15 +02:00
rewrite planoai CLI in Rust
Add crates/plano-cli/ as a full Rust rewrite of the Python CLI. Binary name: planoai. All subcommands ported: up, down, build, logs, cli-agent, trace, init. Config validation and Tera template rendering replace the Python config_generator. CI updated to use cargo test/build instead of Python test jobs.
This commit is contained in:
parent
406fa92802
commit
15b9e8b95c
37 changed files with 4658 additions and 91 deletions
|
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
name: build-cli
|
||||
description: Build and install the Python CLI (planoai). Use after making changes to cli/ code to install locally.
|
||||
description: Build and install the Rust CLI (planoai). Use after making changes to plano-cli code to install locally.
|
||||
---
|
||||
|
||||
1. `cd cli && uv sync` — ensure dependencies are installed
|
||||
2. `cd cli && uv tool install --editable .` — install the CLI locally
|
||||
3. Verify the installation: `cd cli && uv run planoai --help`
|
||||
1. `cd crates && cargo build --release -p plano-cli` — build the CLI binary
|
||||
2. Verify the installation: `./crates/target/release/planoai --help`
|
||||
|
||||
If the build or install fails, diagnose and fix the issues.
|
||||
If the build fails, diagnose and fix the issues.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue