Fully Automated - 100% Backpressure - Pipeline runner ๐Ÿƒ for AI workflows. ๐Ÿš€

Commit 37bfa2af

37bfa2affe0aMerged

Scott Nixon <[email protected]> ยท 5 months ago ยท 4 files ยท +1 added ยท ~3 modified

Description

feat(attractor-cli): pas init TUI confirmation + non-interactive mode (attractor-7i2)

Add pas init command with TTY-aware interactive flows. In an interactive terminal: shows detected toolchains, opens $EDITOR for manifest preview/edit, then confirms before writing. Non-interactive (no TTY, PAS_NON_INTERACTIVE=1, PAS_AGENT=1, or --non-interactive): writes straight through without blocking stdin. Existing pas.toml prompts overwrite in TTY; errors without --force in non-interactive. No .git exits with code 4 in non-interactive without --force.

Details

Commit
37bfa2affe0a
Parent
a9bf1d319f13

crates/attractor-cli/Cargo.tomlmodifiedView file

@@ -25,3 +25,7 @@
2525 serde_json = { workspace = true }
2626 chrono = { workspace = true }
2727 regex = { workspace = true }
28+dialoguer = "0.12"
29+
30+[dev-dependencies]
31+tempfile = "3"