CLI AI Assistant
Last updated
Last updated
© 2024 JFrog Ltd All Rights Reserved
ONLY ACTIVE JFROG CUSTOMERS ARE AUTHORIZED TO USE THE JFROG AI ASSISTANT. ALL OTHER USES ARE PROHIBITED.
The JFrog CLI AI Command Assistant streamlines your workflow by turning natural language inputs into JFrog CLI commands.
Simply describe your desired actions, and the assistant generates commands with all necessary parameters, whether you're uploading artifacts, managing repositories, scanning your code, or performing other actions using the JFrog CLI.
Each query is treated individually, and while the interface allows you to refine requests, it doesn’t maintain a chat history.
This tool helps users access the full power of JFrog CLI without needing to remember specific syntax, ensuring efficiency and accuracy.
Note, This is the first version of JFrog CLI AI, hence it is limited only to Artifactory and Xray commands.
To use the JFrog CLI AI Command Assistant, follow these simple steps:
Ensure that you are in a terminal session where JFrog CLI is installed and configured.
This feature is available starting from CLI version 2.69 and above. To validate your version, run:
jf --version
Type the following command to initiate the AI assistant:
jf how
After entering the command, you will see a prompt:
Your request:
Describe in natural language what you would like the JFrog CLI to do. The AI assistant will generate the exact CLI command needed.
For example, you might type:
Your request: How to upload all files in the 'build' directory to the 'my-repo' repository?
The AI assistant will process your request and output the corresponding JFrog CLI command, including all necessary parameters. For the example above, it will generate:
jf rt u build/ my-repo/
You can now copy the generated command and run it in your terminal.
If needed, you can refine your request and try again.