ekkinox/yai

Possibility to detect a command is not runnable before execution

Opened this issue · 2 comments

For example :

Screenshot 2023-04-18 at 21 15 05 (1)

Yo could detect that the proposed command involves software not available, and propose remediation for this.

Thx @Skyld for the suggestion.

Then make another prediction about how to install it.. maybe have side effects support?

Then make another prediction about how to install it.. maybe have side effects support?

yeah need to check how to make this happen, especially if proposed command line contains more than 1 programs that are not installed :D

The workaround I use for now is:

  • me: ask yo to do some stuff
  • yo: propose a command with a binary I dont have
  • me: try to run and fail / cancel execution
  • me: ask to to install missing stuff

not optimal, but works