clai
clai copied to clipboard
Calling clai skills with single quotes picks up entire line as command
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.
Log file issue 89 example.log
shell and OS (please complete the following information):
- OS: x86_64 RedHat Linux
- Shell bash
- Version GNU bash 4.2.46(2)