fix: update justfile to facilitate running CLIs from source and formatting source code

This commit is contained in:
Michael Bolin
2025-05-29 15:31:00 -07:00
parent a32d305ae6
commit 56f6b6e4fd

View File

@@ -2,14 +2,18 @@
help:
just -l
# Install the `codex-tui` binary
install:
cargo install --path tui
# `codex`
codex *args:
cargo run --bin codex -- {{args}}
# Run the TUI app
# `codex exec`
exec *args:
cargo run --bin codex -- exec {{args}}
# `codex tui`
tui *args:
cargo run --bin codex -- tui {{args}}
# Run the Proto app
proto *args:
cargo run --bin codex -- proto {{args}}
# format code
fmt:
cargo fmt -- --config imports_granularity=Item