From 80592686cc258139e96f184d42a389691542cf6f Mon Sep 17 00:00:00 2001 From: Jheison Martinez Bolivar Date: Fri, 3 Apr 2026 02:07:52 -0500 Subject: [PATCH 1/3] feat(init): interactive wizard for new project and migration, banner in watch mode --- Cargo.toml | 5 +- README.md | 14 ++-- src/cli/mod.rs | 2 +- src/commands/build.rs | 77 ++++++++++++++++----- src/commands/check.rs | 2 +- src/commands/clean.rs | 2 +- src/commands/fmt.rs | 4 +- src/commands/init.rs | 145 ++++++++++++++++++++++++++++----------- src/commands/new.rs | 2 +- src/commands/template.rs | 6 +- src/compiler/mod.rs | 2 +- 11 files changed, 185 insertions(+), 76 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9ed65f7..a3b3f20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "texforge" -version = "0.4.0" +version = "0.5.0" edition = "2021" rust-version = "1.75" description = "Self-contained LaTeX to PDF compiler CLI" @@ -14,6 +14,9 @@ name = "texforge" path = "src/main.rs" [dependencies] +# Interactive prompts +inquire = "0.7" + # CLI argument parsing clap = { version = "4.6", features = ["derive"] } diff --git a/README.md b/README.md index fa6dfc6..2f7c5df 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ sequenceDiagram |---|---| | `texforge new ` | Create new project from template | | `texforge new -t