Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convenient methods to specify required local commands #16

Open
vladimirvivien opened this issue May 12, 2020 · 0 comments
Open

Convenient methods to specify required local commands #16

vladimirvivien opened this issue May 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@vladimirvivien
Copy link
Owner

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 vladimirvivien added the enhancement New feature or request label May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant