gexe icon indicating copy to clipboard operation
gexe copied to clipboard

Convenient methods to specify required local commands

Open vladimirvivien opened this issue 4 years ago • 0 comments

Echo.Prog.Avail(path) can be used to determine if a command is available on the specified path. However, as an echo user, it would be nice to make such assertment as follow:

e := echo.New().RequiresCmd(path)
e.Run(<command>)

Echo would validate that the required command is on the provided path and fails if not found.

vladimirvivien avatar May 12 '20 11:05 vladimirvivien