Available Commands
Learn about all the powerful commands to use Bito CLI
Last updated
Was this helpful?
Learn about all the powerful commands to use Bito CLI
Last updated
Was this helpful?
Run any one of the below commands.
bito --help
or
bito config βhelp
Run any one of the below commands to print the version number of Bito CLI installed currently.
bito -v
or
bito --version
The below commands can help you automate repetitive tasks like software documentation, test case generation, writing pull request description, pull request review, release notes generation, writing commit message, and much more.
Run the below command for non-interactive mode in Bito (where writedocprompt.txt
will contain your prompt text such as Explain the code below in brief
and mycode.js
will contain the actual code on which the action is to be performed).
Run the below command to read the content at standard input in Bito (where writedocprompt.txt
will contain your prompt text such as Explain the code below in brief
and input provided will have the actual content on which the action is to be performed).
Run the below command to directly concatenate a file and pipe it to bito
and get instant result for your query.
Run the below command to redirect your output directly to a file (where -p
can be used along with cat
to perform prompt related action on the given content).
Run the below command to redirect your output directly to a file (where -p
can be used along with type
to perform prompt related action on the given content).
Run the below command to store context/conversation history in non-interactive mode in file runcontext.txt
to use for next set of commands in case prior context is needed. If runcontext.txt
is not present it will be created. Please provide a new file or an existing context file created by bito
using -c
option. With -c
option now context is supported in non-interactive mode
Run the below command to instantly get response for your queries using Bito CLI.
Anything after #
symbol in your prompt file will be considered as a comment by Bito CLI and won't be part of your prompt.
You can use \#
as an escape sequence to make #
as a part of your prompt and to not use it for commenting anymore.
Give me an example of bubble sort in python # everything written here will be considered as a comment now.
Explain what this part of the code do: \#include<stdio.h>
In the example above \#
can be used as an escape sequence to include # as a part of your prompt.
#This will be considered as a comment as it contains # at the start of the line itself.
Use {{%input%}}
macro in the prompt file to refer to the contents of the file provided via -f
option.
Example: To check if a file contains JS code or not, you can create a prompt file checkifjscode.txt
with following prompt: