Skip to content

Commit 92957c4

Browse files
authored
fix: update justfile to facilitate running CLIs from source and formatting source code (openai#1163)
1 parent 8c1902b commit 92957c4

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

codex-rs/justfile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22
help:
33
just -l
44

5-
# Install the `codex-tui` binary
6-
install:
7-
cargo install --path tui
5+
# `codex`
6+
codex *args:
7+
cargo run --bin codex -- {{args}}
88

9-
# Run the TUI app
9+
# `codex exec`
10+
exec *args:
11+
cargo run --bin codex -- exec {{args}}
12+
13+
# `codex tui`
1014
tui *args:
1115
cargo run --bin codex -- tui {{args}}
1216

13-
# Run the Proto app
14-
proto *args:
15-
cargo run --bin codex -- proto {{args}}
17+
# format code
18+
fmt:
19+
cargo fmt -- --config imports_granularity=Item

0 commit comments

Comments
 (0)