fix: update justfile to facilitate running CLIs from source and formatting source code (#1163)
This commit is contained in:
@@ -2,14 +2,18 @@
|
|||||||
help:
|
help:
|
||||||
just -l
|
just -l
|
||||||
|
|
||||||
# Install the `codex-tui` binary
|
# `codex`
|
||||||
install:
|
codex *args:
|
||||||
cargo install --path tui
|
cargo run --bin codex -- {{args}}
|
||||||
|
|
||||||
# Run the TUI app
|
# `codex exec`
|
||||||
|
exec *args:
|
||||||
|
cargo run --bin codex -- exec {{args}}
|
||||||
|
|
||||||
|
# `codex tui`
|
||||||
tui *args:
|
tui *args:
|
||||||
cargo run --bin codex -- tui {{args}}
|
cargo run --bin codex -- tui {{args}}
|
||||||
|
|
||||||
# Run the Proto app
|
# format code
|
||||||
proto *args:
|
fmt:
|
||||||
cargo run --bin codex -- proto {{args}}
|
cargo fmt -- --config imports_granularity=Item
|
||||||
|
|||||||
Reference in New Issue
Block a user