Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Jan 11, 2024
1 parent 373d9ba commit ffe09eb
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"cSpell.words": ["langchain", "llms", "vectorstores"]
"cSpell.words": ["autoremove", "langchain", "llms", "vectorstores"]
}

18 changes: 17 additions & 1 deletion dist/utils/chains/doit/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,28 @@ npm run test`,
output: 'sudo apt-get install gdal-bin -y',
},
{
input: 'commit all changes with comment hoge',
input: 'git commit all changes with comment hoge',
output: `git add .
git commit -m 'hoge'`,
},
{
input: 'git push',
output: 'git push 2>&1',
},
{
input: 'git pull',
output: 'git pull 2>&1',
},
{
input: 'git push with comment hoge',
output: `git add .
git commit -m 'hoge'
git push 2>&1`,
},
{
input: 'update all apt packages',
output: `apt-get update 2>&1
apt-get upgrade -y
apt-get autoremove -y`,
},
];
18 changes: 17 additions & 1 deletion src/utils/chains/doit/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,29 @@ npm run test`,
output: 'sudo apt-get install gdal-bin -y',
},
{
input: 'commit all changes with comment hoge',
input: 'git commit all changes with comment hoge',
output: `git add .
git commit -m 'hoge'`,
},
{
input: 'git push',
output: 'git push 2>&1',
},
{
input: 'git pull',
output: 'git pull 2>&1',
},
{
input: 'git push with comment hoge',
output: `git add .
git commit -m 'hoge'
git push 2>&1`,
},
{
input: 'update all apt packages',
output: `apt-get update 2>&1
apt-get upgrade -y
apt-get autoremove -y`,
},
];

0 comments on commit ffe09eb

Please sign in to comment.