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.
For many CLAI skills, pro users would like a mode where a skill returns its output to a new line in the terminal, but does not send a return. This will allow the user to edit the command prior to executing it, and enables another assistant-like interaction pattern.
For example, the nlc2cmd skill, with this feature turned on, would have the option of populating the suggestion (Try >> suggestion) into the terminal window / command prompt following the return from CLAI, i.e.
/> suggestion
This would allow the user to edit the contents of the suggestion before deciding to execute or not. This is an enhancement of the current y/n/e mode that we provide.
Acceptance criteria
CLAI is able to auto-populate a returned suggestion on to the prompt; and
There is a mode that can be enabled for getting the above behavior.
This suggestion from David MacMillan at the ICML 2020 IBM Booth.
Feature description
For many CLAI skills, pro users would like a mode where a skill returns its output to a new line in the terminal, but does not send a return. This will allow the user to edit the command prior to executing it, and enables another assistant-like interaction pattern.
For example, the
nlc2cmd
skill, with this feature turned on, would have the option of populating the suggestion (Try >> suggestion
) into the terminal window / command prompt following the return from CLAI, i.e./> suggestion
This would allow the user to edit the contents of the suggestion before deciding to execute or not. This is an enhancement of the current
y/n/e
mode that we provide.Acceptance criteria
This suggestion from
David MacMillan
at the ICML 2020 IBM Booth.