fabro/lib/crates/fabro-cli/src
Bryan Helmkamp e477c19646 Simplify recent CLI additions: dedup, fix TOCTOU, remove wrappers
- Extract git_repo_root() helper in init.rs (was duplicated between
  run_init and run_deinit)
- Fix TOCTOU in run_deinit: remove .exists() check, handle NotFound
  from remove_file directly
- Change dotenv::remove_env_key() to return Option<String> so callers
  don't need to separately parse the file to check key existence
- Remove merge_env wrapper in install.rs, call shared function directly
- Remove duplicate merge_env tests from install.rs (already in dotenv.rs)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 18:09:08 -04:00
..
commands Simplify recent CLI additions: dedup, fix TOCTOU, remove wrappers 2026-03-18 18:09:08 -04:00
cli_config.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
doctor.rs Rename Arc to Fabro in user-facing strings, comments, and tests 2026-03-13 20:43:21 -04:00
init.rs Simplify recent CLI additions: dedup, fix TOCTOU, remove wrappers 2026-03-18 18:09:08 -04:00
install.rs Simplify recent CLI additions: dedup, fix TOCTOU, remove wrappers 2026-03-18 18:09:08 -04:00
logging.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
main.rs Add fabro secret CLI subcommands for managing ~/.fabro/.env 2026-03-18 18:02:38 -04:00
skill.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
upgrade.rs fabro upgrade command (#13) 2026-03-15 19:54:57 -04:00