CLI-Gen is an innovative open-source project that aims to use graph-based code representation and Large Language Models (LLMs) to automate test case generation and client library creation.
CLI-Gen explores how a graph data structure can act as a central element for understanding various code elements and the relations between them. This understanding forms the foundation for intelligent automation in software development tasks.
CLI-Gen is currently in the conceptual and planning phase. We're actively working on the core architecture and will be implementing features in the near future.
Here are some of the features that I have completed implementing:
- AST Generator CLI: AST Generator is a command-line tool that generates Abstract Syntax Trees (ASTs) for JavaScript files in a specified directory. It processes all JavaScript files recursively in the given directory and provides a sample output of the generated ASTs.
- Knowledge Graph Generator: This project is an Abstract Syntax Tree (AST) parser and knowledge graph generator for JavaScript code. It takes JavaScript ASTs in JSON format and converts them into a queryable knowledge graph structure.
- Graph-based code and API analysis
- Intelligent test case generation for API and non-API projects
- Context-aware client library generation from OpenAPI specs
- LLM integration for advanced code understanding
Visit our Wiki to dive deeper into:
- The theory behind CLI-Gen's graph-based approach
- Our roadmap and planned features
- How you can contribute to shaping CLI-Gen
- Updates on project progress
We're excited about the potential of CLI-Gen and welcome community involvement:
- GitHub Issues: Share your ideas and feature requests
- Discussions: Join the conversation about CLI-Gen's development
- Contributing Guide: Learn how you can contribute to the project
Stay tuned for updates as we move from concept to code!
CLI-Gen is planned to be released under the MIT License.