Commit 3dd1ee1
committed
Initial commit for commitbot CLI tool
Besides this line - this entire message was written with `commitbot`.
## New Files
- Introduced `Cargo.toml` to define the package metadata and dependencies for the commitbot project.
- Introduced `Cargo.lock` for managing dependencies and ensuring reproducible builds.
- Introduced `README.md` with a detailed description of the commitbot CLI tool, its features, installation instructions, usage examples, and license information.
- Introduced `Taskfile.yaml` containing tasks for running, installing, building, and publishing the commitbot.
- Introduced `src/main.rs` as the main entry point for the commitbot tool, implementing core functionalities such as LLM integration, file change categorization, commit message generation, and user interaction.
## Dependencies
- Added `anyhow` for error handling.
- Added `clap` for command-line argument parsing.
- Added `reqwest` for making HTTP requests to the OpenAI API.
- Added `serde` for serialization and deserialization tasks.
## Features
- Introduced interactive "ask" mode to classify each staged file and gather summaries.
- Introduced simple mode for generating commit messages directly from the staged changes.
- Implemented integration with OpenAI's API for LLM-based commit message generation, with fallback to dummy behavior if no model is selected.
- Included detailed prompts and system instructions guiding the model towards creating well-structured commit messages.
## Documentation
- Expanded the README with clear instructions to guide users through setup and usage of the commitbot tool.
## Other
- Project structure and coding style adhere to Rust conventions and practices for maintainability and clarity.1 parent 6ae8273 commit 3dd1ee1
5 files changed
+2473
-1
lines changed
0 commit comments