Vertex CLI is a powerful command-line tool that leverages Large Language Models (LLMs) to answer queries and debug faster. With just a few commands, you can set up and start using advanced features like querying LLMs and generating insights.
Complete Documentation: Vertex CLI Docs
Follow these steps to get started:
To install Vertex-CLI
from TestPyPI, run:
pip install --index-url https://test.pypi.org/simple/ Vertex-CLI==0.1.39
After installation, initialize the CLI:
tex-init
If you want to modify or contribute to Vertex CLI, install it in editable mode:
-
Clone the repository:
git clone https://github.com/Prtm2110/Vertex-CLI cd Vertex-CLI
-
Install dependencies and set up the project:
pip install -e .
-
Initialize the CLI:
tex-init
You can configure the CLI to use a specific LLM model:
tex --config gemini-1.5-flash <model-api-key>
Replace gemini-1.5-flash
with your preferred model name and <model-api-key>
with your API key.
Once installed, you can start using Vertex CLI by running:
tex "tell me about the solar system"
Replace "tell me about solar system"
with any query you'd like.
🔗 Complete CLI Documentation: CLI Commands
Debugging is currently in beta but can analyze recent commands to identify issues.
tex --debug
To debug the last 5 commands:
tex --debug --5
Provide additional context while debugging:
tex "I believe this can be solved by changing the environment variable" --debug
Contributions are welcome! Follow these steps to contribute:
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Add your feature description"
- Push your branch:
git push origin feature/your-feature-name
- Open a pull request
🔗 Contributor Guide: How to Contribute
This project is licensed under the MIT License. See the LICENSE file for more details.
If you encounter any issues, open an issue on the GitHub repository.