CLI mode gone? #506
Replies: 2 comments
|
yeah @h8ghbzc9bbr8c7 , the cli mode gone. I tried to hide all CLI pages (but not get rid of them), but it seems you still see it. Let I add the retire mode to all these pages. In fact, I still use the askimo cli, and I recommend contributors use cli mode to create the PR commit which auto generate the commit messages but I do not official support it anymore because the maintance effort is high and I do not have time to make more features compare with desktop, and do the testing in every release.
You can explore the module CLI and run chatCli in your editor as a java program. I am not sure what is your use case? If you want to integrate the cli with a main method in jar-file (?) or do you want to make the AI call the java method? If you want AI call your main method such, you can declare the Tool such as I write several tools at https://github.com/askimo-ai/askimo/tree/main/shared/src/main/kotlin/io/askimo/tools. or if you want to run some pre-define scripts, you can write additional files, you can refer the samples at https://github.com/askimo-ai/askimo/blob/main/cli/src/main/resources/templates/ |
|
Thanks four your reply. I am an old "scipt-fan" and use scripts for automation of tasks. So I saw the CLI mode as a helper in such scripts. But it is not really important, ollama alone also helps in scripts. I will look at the files you mentioned. Thanks again! |
Uh oh!
There was an error while loading. Please reload this page.
In some places in the documentation a CLI mode (command line interface) is mentioned. Also in the web there are examples like
cat summary.txt | askimo "Write me a summary"
This functionality seems not to work, askimo does not accept or understand command line parameters or input from stdin (or I did it completely wrong). Askimo always starts the GUI.
So the question is: Is the CLI mode gone (which would be sad, for a "quick answer" a CLI mode is perfect)? Is there some "trick" (i.a. calling another main-method in the jar-file).
I use Askimo on Linux (Debian 13) from the jar file.
Thanks!
All reactions