You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-1Lines changed: 44 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,11 @@ run ```bito --help``` or ```bito config --help```
87
87
##### On MAC/Linux:
88
88
89
89
- run ```bito -v``` or ```bito --version``` to print the version number of Bito CLI installed currently.
90
+
90
91
- 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).
91
92
93
+
- run ```bito –p writedocprompt.txt``` 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).
94
+
92
95
- run ```cat file.txt | bito``` to directly cat a file and pipe it to bito and get instant result for your query.
93
96
94
97
- 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).
@@ -99,7 +102,10 @@ run ```bito --help``` or ```bito config --help```
99
102
100
103
##### On Windows:
101
104
- run ```bito -v``` or ```bito --version``` to print the version number of Bito CLI installed currently.
102
-
- 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).
105
+
106
+
- 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).
107
+
108
+
- run ```bito –p writedocprompt.txt``` 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).
103
109
104
110
- run ```type file.txt | bito``` to take input from file in windows and pipe it to bito and get instant result for your query.
105
111
@@ -133,6 +139,43 @@ Here are two examples for you to see My Prompt in action:
0 commit comments