Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Calling clai skills with single quotes picks up entire line as command #60

Open
djfitzgerald opened this issue May 5, 2020 · 0 comments

Comments

@djfitzgerald
Copy link
Contributor

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:

  1. use tail -f to look at the end of the logfile
  2. Enter the command clai "helpme" nfs
  3. Observe the log entries
  4. Enter the command clai 'helpme' nfs
  5. 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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant