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

executable suggestions for pro users #90

Description

@ktalamad

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

  1. CLAI is able to auto-populate a returned suggestion on to the prompt; and
  2. There is a mode that can be enabled for getting the above behavior.

This suggestion from David MacMillan at the ICML 2020 IBM Booth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions