Skip to content

Add support to run commands that are written by ai in the chat. #281

@Autonvilkku

Description

@Autonvilkku

feature:

  • Specially in multiline mode tgpt would ask if the user does he want to run the command if the ai has written an command.

usecases

  • In multiline mode this would help a lot, becouse the user doesn't have to exit the conversation.
  • Also in the normal mode this would help, so the user doesn't have to copy and paste it, tgpt would just ask if the user wants to execute that command.

example how it would work

user: write a command that make a folder and its name is "folder1"
bot: mkdir folder1
tget: do you want to execute that command(Y,n):

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions