Add CLI tool for terminal-based code analysis#183
Conversation
|
Completed implementation for the CLI tool feature. Implemented:
PR: #183 Please review when possible. Thank you! |
|
Hi @imDarshanGK , my PR #102 and PR #153 have been merged successfully. I just wanted to confirm whether the required GSSoC labels/tags have been added correctly so the contributions can reflect on the dashboard. Thank you! |
|
@AnubhavC-001 Could you please attach the related issue number to this PR for proper tracking? Thanks! |
imDarshanGK
left a comment
There was a problem hiding this comment.
@AnubhavC-001 Thanks for the CLI work. This is not ready to merge yet because the issue requirements are only partially implemented. Please add support for --mode debug, --output, and --recursive directory analysis, and make sure the CLI handles both single files and folders as requested. After that, I can re-review
|
Thanks for the detailed review and feedback. I’ll work on the remaining requirements:
I’ll update the implementation and request re-review once completed. GSSoC Contributor |
|
Implemented the requested CLI improvements and updated the branch with the latest changes. Added Features
Testing PerformedSuccessfully tested:
Additional Work
Requesting re-review whenever possible. GSSoC Contributor |
|
Hi @imDarshanGK |
imDarshanGK
left a comment
There was a problem hiding this comment.
The PR is linked to #136, but it still has a functional bug: the --api-url flag is parsed in cli/qyverix.py but never used when building the request URL in cli/qyverix.py, so custom backend support does not work. Please wire args.api_url into the request path, then I can review again.
24a029d to
a022f6a
Compare
|
Thanks for catching that. The CLI was parsing The fix has been pushed to the branch. Please re-review when convenient. GSSoC Contributor 🚀 |
Summary
Implemented a command-line interface for QyverixAI so developers can analyze files directly from the terminal without opening the browser UI.
Features Added
rich--jsonflag for machine-readable output--api-urlflag for custom backend supportFiles Added
cli/qyverix.pycli/requirements.txtcli/README.mdcli/test_sample.pyTesting
Tested locally with:
test_sample.pyVerified successful CLI analysis output and formatted reporting.
Notes
The CLI communicates directly with the
/analyze/backend endpoint and provides a lightweight terminal workflow for developers.