1
GitHub - kunchenguid/aicmd: A CLI program that uses AI to help find the right co...
source link: https://github.com/kunchenguid/aicmd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
AICMD
A CLI program that allows you to run shell commands using nautral language.
Prerequisites
AICMD is based on Node.js. Install Node.js before proceeding. Minimum required version is Node.js 16.
Usage
Run it directly using npx:
npx aicmd create a javascript code file that prints hello world, and run it
Alternatively, install aicmd globally:
npm i -g aicmd
And then run it more easily each time:
aicmd create a javascript code file that prints hello world, and run it
Output:
echo console.log("Hello World!") > hello.js && node hello.js
Execute the command above? [y/N]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK