Command Line Artificial Intelligence or CLAI is an open-sourced project from IBM Research aimed to bring the power of AI to the command line interface.
Describe the bug
When calling a CLAI skill in double quotes, the text following the double quotes is passed to the skill that is in the double quotes. For example: clai "helpme" nfs will pass the command nfs as input to the helpme skill.
When doing the same thing with single quotes the operation is different. clai 'helpme' nfs passes the command clai helpme nfs as input to CLAI. The helpme skill is never run, and instead we get a CLAI usage message.
To Reproduce
Steps to reproduce the behavior:
use tail -f to look at the end of the logfile
Enter the command clai "helpme" nfs
Observe the log entries
Enter the command clai 'helpme' nfs
Observe the log entries
Expected behavior
The same behavior should happen for clai 'helpme' nfs as happens for clai "helpme" nfs. That is, the helpme skill should be invoked and look up information on the keyword "nfs".
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug When calling a CLAI skill in double quotes, the text following the double quotes is passed to the skill that is in the double quotes. For example:
clai "helpme" nfs
will pass the commandnfs
as input to thehelpme
skill.When doing the same thing with single quotes the operation is different.
clai 'helpme' nfs
passes the commandclai helpme nfs
as input to CLAI. Thehelpme
skill is never run, and instead we get a CLAI usage message.To Reproduce Steps to reproduce the behavior:
tail -f
to look at the end of the logfileclai "helpme" nfs
clai 'helpme' nfs
Expected behavior The same behavior should happen for
clai 'helpme' nfs
as happens forclai "helpme" nfs
. That is, thehelpme
skill should be invoked and look up information on the keyword "nfs".Screenshots If applicable, add screenshots to help explain your problem.
Log file issue 89 example.log
shell and OS (please complete the following information):