Skip to content

Commit c7fb3f4

Browse files
committed
Rewrite CLI in Rust
Replace Nim implementation with Rust using clap, reqwest, and serde. Update flake.nix and CI workflow for Rust build.
1 parent 1dfcc8c commit c7fb3f4

File tree

14 files changed

+2524
-1054
lines changed

14 files changed

+2524
-1054
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,14 @@ jobs:
272272
273273
# Test breeder purge with force flag
274274
echo "Testing: breeder purge --force"
275-
$BINARY_PATH --hostname=localhost --port=4010 --force breeder purge --id=550e8400-e29b-41d4-a716-446655440000
275+
$BINARY_PATH --hostname=localhost --port=4010 breeder purge --force --id=550e8400-e29b-41d4-a716-446655440000
276276
277277
# Test help shows new commands
278-
echo "Testing: help shows stop/start/force commands"
278+
echo "Testing: help shows stop/start commands"
279279
$BINARY_PATH --help | grep -q "stop" && echo "✅ stop command documented" || echo "❌ stop command missing"
280280
$BINARY_PATH --help | grep -q "start" && echo "✅ start command documented" || echo "❌ start command missing"
281-
$BINARY_PATH --help | grep -q "force" && echo "✅ force flag documented" || echo "❌ force flag missing"
281+
echo "Testing: breeder purge --help shows --force flag"
282+
$BINARY_PATH breeder purge --help | grep -q "force" && echo "✅ --force flag documented in purge" || echo "❌ --force flag missing from purge"
282283
283284
# Test help commands
284285
echo "Testing: help commands"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target/

0 commit comments

Comments
 (0)