A terminal UI for running tuist generate on specific targets without memorizing flags or env vars
cargo install --git https://github.com/danilpapa/tuistctlSame command reinstalls the latest version from the repo:
cargo install --git https://github.com/danilpapa/tuistctl- Rust toolchain (
cargo) xcodebuildin PATH (comes with Xcode)tuistin PATH- An
.xcworkspacefile reachable from the directory where you runtuistctl
Run from anywhere inside your project (tuistctl walks up to find the .xcworkspace):
tuistctl- Target selection — pick one or more Xcode schemes with
Space, confirm withEnter - Option selection — pick optional tuist flags/env vars, confirm with
Enter - Generation — the command runs while a matrix animation plays; exits when done
Navigation: ↑ ↓ move cursor · Space toggle · Enter confirm · q / Esc go back
tuistctl reads an options.txt file next to the workspace to populate the options screen. Each line is one option:
// comment line, skipped
TUIST_SOME_FLAG // shown as env var: TUIST_SOME_FLAG=1
cache = tuist cache // shown as exec command, runs: tuist cache
- Lines starting with
//are skipped name = command→ executescommandwhen selectednamealone → appended asname=1env var- Inline
// tipafter a definition is shown as a hint in the UI
tuistctl stubs out the tuist generate invocation so you never type it manually:
tuist generate <target1> <target2>
If options are selected, it appends them:
tuist generate <targets> && tuist cache SOME_FLAG=1
The command executes in the directory containing the .xcworkspace file, exactly as if you had cd-ed there and typed it yourself.
