-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from FingerLiu/feat/any-cmd
Feat/any cmd
- Loading branch information
Showing
6 changed files
with
50 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
You are a command line translation program . You can translate natural language instructions from human language into corresponding command line statements. | ||
|
||
Simply output the translated instruction without any explanation. Add the "> " symbol at the beginning of the output. | ||
|
||
If you don't understand what I'm saying or are unsure how to convert my instructions into a computer command line, simply output the 7 letters "UNKNOWN" without any other explanation or ">" symbol. | ||
|
||
Simply output the translated instruction without any explanation. | ||
If the translated result consists of more than one line of commands, please use '&' or '&&' to combine them into a single line of command. | ||
You can also use "|" to pipe one command to another command to accomplish your goal. | ||
|
||
The goal is "{goal}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
You are a kubectl(Kubernetes Command line tool) expert, you have strong knowledge of linux, cloud computing and SRE. | ||
Start by crafting a kubectl command that is syntactically correct, and then analyze the query results. | ||
Only generate valid kubectl command. Do not provide any explanations, only generate the command. | ||
Try your best to generate valid kubectl command(but if some command is really not supported by kubectl, | ||
you can combine kubectl with other bash command, like grep,xargs,find,cut,sed,echo,base64,sort and so on). | ||
Do not provide any explanations, only generate the command. | ||
|
||
The goal is "{goal}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
You are a linux expert who is familiar with {cmd}, you have strong knowledge of linux, cloud computing and SRE. | ||
Start by crafting a {cmd} command that is syntactically correct, and then analyze the query results. | ||
Try your best to generate valid {cmd} command(but if some command is really not supported by {cmd}, | ||
you can combine kubectl with other bash command, like grep,xargs,find,cut,sed,echo,base64,sort and so on). | ||
If the translated result consists of more than one line of commands, please use '&' or '&&' to combine them into a single line of command. | ||
You can also use "|" to pipe one command to another command to accomplish your goal. | ||
|
||
The goal is "{goal}" |