Vertex CLI is a powerful command-line tool designed to streamline your workflows and integrate AI capabilities seamlessly. With just a few commands, you can set up and start using advanced features like querying models and generating insights.
Follow these steps to get started:
-
Clone the repository:
git clone https://github.com/Prtm2110/Vertex-CLI cd Vertex-CLI
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the initial setup script to install the package:
pip install .
-
After the installation, execute the setup command:
tex --setup
-
Configure the CLI with your model details:
tex --config gemini-1.5-flash <model-api-key>
Replace
gemini-1.5-flash
with your model name and<model-api-key>
with your API key.
You're now ready to use Vertex CLI!
To start using Vertex CLI, simply type the following command:
tex "tell me about solar system"
Replace "tell me about solar system"
with any query you'd like. Vertex CLI will process your input and provide accurate, AI-generated insights.
Debugging functionality is currently under development but can already be utilized to analyze issues with recent commands. Here’s how to use it:
Debug the Last Two Commands
To identify potential issues with the last two executed commands, use:
tex --debug
You can specify the number of recent commands to debug by adding the --5
flag (or replace 5
with your desired number):
tex --debug --5
When debugging, you can include a custom message to specify your assumptions or observations. For example:
tex "I believe this can be solved by changing the environment variable" --debug
This helps provide context and ensures more targeted debugging insights.
Contributions are welcome! If you'd like to improve Vertex CLI or add new features:
- 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 to your branch:
git push origin feature/your-feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you encounter any issues, feel free to open an issue on the GitHub repository.