clai
clai copied to clipboard
Clai command responds before Clai Server is running.
Describe the bug The clai server accepts commands before the server is correctly configured to issue installs. To Reproduce Steps to reproduce the behavior:
- Install
clai
-
clai activate <skill>
-
clai deactivate <skill>
-
clai stop
-
clai start
-
clai activate
<--issue quickly.
Observed behavior The / and | in the beginning is just the clai logo being formatted incorrectly by git.
/ | | | /\ | |
| | | | / \ | |
| | | | / /\ \ | |
| | | |____ / ____ \ | |
_| || // _\ |____|
nohup: appending output to ‘nohup.out’
[root@623acef53b3a ~]# clai skills
Available Skills:
◻ fixit (Not Installed)
◻ helpme (Not Installed)
◻ howdoi (Not Installed)
◻ ibmcloud (Not Installed)
◻ man page explorer (Not Installed)
☑ nlc2cmd (Installed)
[root@623acef53b3a ~]# clai activate helpme
Available Skills:
◻ fixit (Not Installed)
◻ helpme (Not Installed)
◻ howdoi (Not Installed)
◻ ibmcloud (Not Installed)
◻ man page explorer (Not Installed)
☑ nlc2cmd (Installed)
[root@623acef53b3a ~]# clai activate helpme
Available Skills:
◻ fixit (Not Installed)
◻ helpme (Not Installed)
◻ howdoi (Not Installed)
◻ ibmcloud (Not Installed)
◻ man page explorer (Not Installed)
☑ nlc2cmd (Installed)
Wait for 2 -3 minutes
[root@623acef53b3a ~]# clai activate helpme
Available Skills:
◻ fixit (Not Installed)
☑ helpme (Not Installed)
◻ howdoi (Not Installed)
◻ ibmcloud (Not Installed)
◻ man page explorer (Not Installed)
☑ nlc2cmd (Installed)
Expected behavior
[root@623acef53b3a ~]# clai activate helpme
Available Skills:
◻ fixit (Not Installed)
☑ helpme (Not Installed)
◻ howdoi (Not Installed)
◻ ibmcloud (Not Installed)
◻ man page explorer (Not Installed)
☑ nlc2cmd (Installed)
shell and OS (please complete the following information):
- OS: [MacOS & z/OS]
- Shell [Bash]
- Version [5.0 & 4.3]