Skip to content

Commit 7437580

Browse files
authored
Update README.md
Support for -v and --version added
1 parent 7fa470b commit 7437580

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,18 @@ While it's not recommended, you can download the Bito CLI binary from our reposi
7878
### Bito CLI Commands
7979
#### help
8080
- On MAC/Linux:
81-
run ```./bito --help``` or ```./bito config --help```
81+
run ```bito --help``` or ```bito config --help```
8282

8383
- On Windows:
8484
run ```bito --help``` or ```bito config --help```
8585

8686
#### Bito CLI MyPrompt (Automation using Bito CLI)
8787
##### On MAC/Linux:
8888

89-
- run ```./bito –p writedocprompt.txt -f mycode.js``` 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).
89+
- run ```bito -v``` or ```bito --version``` to print the version number of Bito CLI installed currently.
90+
- run ```bito –p writedocprompt.txt -f mycode.js``` 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).
9091

91-
- run ```cat file.txt | ./bito``` to directly cat a file and pipe it to bito and get instant result for your query.
92+
- run ```cat file.txt | bito``` to directly cat a file and pipe it to bito and get instant result for your query.
9293

9394
- run ```cat inventory.sql | bito -p testdataprompt.txt > testdata.sql``` 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).
9495

@@ -97,9 +98,10 @@ run ```bito --help``` or ```bito config --help```
9798
- run ```echo "give me code for bubble sort in python" | bito``` to instantly get response for your queries using Bito CLI.
9899

99100
##### On Windows:
101+
- run ```bito -v``` or ```bito --version``` to print the version number of Bito CLI installed currently.
100102
- run ```bito – p writedocprompt.txt -f mycode.js``` for non-interactive mode in Bito (where writedocpromot.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).
101103

102-
- run ```type file.txt | ./bito``` to take input from file in windows and pipe it to bito and get instant result for your query.
104+
- run ```type file.txt | bito``` to take input from file in windows and pipe it to bito and get instant result for your query.
103105

104106
- run ```type inventory.sql | bito -p testdataprompt.txt > testdata.sql``` 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).
105107

0 commit comments

Comments
 (0)