Getting Assistance
This guide covers the core functionalities of using Strigi.
Generating Commands in Natural Language
Strigi excels at understanding natural language. Here's how to leverage this to generate commands:
Open your terminal: This is where you'll interact with Strigi.
Type your request: Describe the action you want to perform in natural language. For example, you could type:
bash$ s "list all files in the current directory"
Press Enter: Strigi will analyze your request and generate a corresponding command.
Choose your action: Once you have the generated command, you're in control! Here are your options:
- Run: Execute your command by selecting this option, pressing
Enter
, confirming again, and witnessing the results in your terminal. - Copy: Save the generated command to your clipboard for easy pasting elsewhere. Select this option, press
Enter
, and the command will be copied for you to use in any context you need. - Revise: Ensure precision by reviewing and modifying the generated command. Select this option, press
Enter
, and enter your revise prompt. - Explain: Gain insights into a command's purpose and usage. Select this option, press
Enter
, and delve deeper into its functionality. - Cancel: Opt out of the current action by selecting this option and pressing
Enter
. Alternatively, terminate the interaction pressingCtrl+C
.
Getting Explanations for Existing Commands
Understanding existing commands is another area where Strigi can be helpful:
Type your request: Use natural language to ask for an explanation of a specific command. For example:
bash$ s explain "git status"
Or, you can alternatively use:
bash$ s -e "git status"
Press Enter: Strigi will analyze your request and provide a clear explanation of the command's purpose, usage, and options.
Asking for Revision
Strigi allows you to easily review and modify commands for accuracy and customization. Follow these steps to request a revision:
Open your terminal: Ensure you're in the terminal where you interact with Strigi.
Type your request: For example, to revise the command
git log
, type:bash$ s revise "git log"
Press Enter: Strigi will process your request and prompt you to enter the desired adjustments.
Modify as needed: Describe your adjustments in natural language for accuracy and precision.
Choose your action: Once you have the revised command, proceed with your desired action as usual.