-
Notifications
You must be signed in to change notification settings - Fork 0
Develop #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Develop #10
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1996a09
developed cli for auditgen (#1)
ThiruNithish28 0f6e51e
feat: improve CLI UX, prompts, and generate workflow
ThiruNithish28 e279f71
feat: add windows exe build pipeline and fix bundled template path (#3)
ThiruNithish28 f2d7735
Sync main into develop (#7)
ThiruNithish28 af76a2b
docs: add README, CHANGELOG and update yml file (#8)
ThiruNithish28 18ab475
fix: merge main hotfixes into develop
ThiruNithish28 df042a1
Fix/sync main to develop (#9)
ThiruNithish28 ed26fd0
Merge branch 'develop' of https://github.com/ThiruNithish28/audiGen-c…
ThiruNithish28 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "python-envs.defaultEnvManager": "ms-python.python:poetry", | ||
| "python-envs.defaultPackageManager": "ms-python.python:poetry" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Changelog | ||
|
|
||
| ## [v0.1.0] - 2025-04-26 | ||
|
ThiruNithish28 marked this conversation as resolved.
|
||
| ### Added | ||
| - Interactive dual-mode CLI (flags or questionary prompts) | ||
| - Config registry with `auditgen config setup` | ||
| - Generates Impact Analysis, Test Cases, Code Checklist from BRD | ||
| - Windows EXE via GitHub Actions | ||
| - Input validation with friendly error messages | ||
| - Path traversal protection on ticket ID | ||
| - Ctrl+C handling across all prompts | ||
|
ThiruNithish28 marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # AudiGen CLI | ||
|
|
||
| Audit document generator CLI tool — generates Impact Analysis, Test Cases, | ||
| and Code Review Checklist from a BRD document using AI. | ||
|
|
||
| ## Requirements | ||
| - Windows 10/11 | ||
| - Gemini API key ([get one free here](https://aistudio.google.com/)) | ||
|
|
||
| ## Installation | ||
| 1. Download `auditgen.exe` from [Releases](../../releases) | ||
| 2. Place it in a folder e.g. `C:\Tools\auditgen\` | ||
| 3. Add that folder to your Windows PATH | ||
| 4. Open a new terminal and run `auditgen --help` | ||
|
|
||
| ## First Time Setup | ||
| ```cmd | ||
| auditgen config setup | ||
| ``` | ||
| Select all fields and enter your details when prompted. | ||
|
|
||
| ## Usage | ||
| ```cmd | ||
| # Interactive mode — prompts for everything | ||
| auditgen generate | ||
|
|
||
| # Direct mode — pass everything as flags | ||
| auditgen generate "path\to\brd.docx" TKT-001 -s 20-04-2025 -e 30-04-2025 | ||
|
|
||
| # View your config | ||
| auditgen config show | ||
| ``` | ||
|
|
||
| ## Output | ||
| Running `generate` produces three Excel files in your output folder: | ||
| - `TKT-001-Impact Analysis Template.xlsx` | ||
| - `TKT-001-Test Cases.xlsx` | ||
| - `TKT-001-Code Checklist.xlsx` | ||
|
|
||
| ## Built With | ||
| - Python 3.12 | ||
| - Click — CLI framework | ||
| - Google Gemini — test case generation | ||
| - openpyxl — Excel generation | ||
| - Rich + Questionary — terminal UI | ||
|
ThiruNithish28 marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add condition to prevent release step failure on manual triggers.
The release creation step will run on both tag pushes and manual
workflow_dispatchtriggers. When triggered manually without a tag context, this step will likely fail or produce unexpected results.🔧 Proposed fix to conditionally run release only on tags
- name: Create Github Release uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') with: files: dist/auditgen.exe generate_release_notes: true📝 Committable suggestion
🤖 Prompt for AI Agents