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

Add safe invocation CLI syntax #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

casperisfine
Copy link

Example: rake may:or:maynot:exist?

Such syntax is useful for projects like buildpacks and other automated CI/CD tools.

It would allow these tools to very easily invoke a taskif it exists, without failing if it doesn't.

@hsbt is this a feature that could be acceptable?

Also cc @schneems, since as maintainer of https://github.com/heroku/heroku-buildpack-ruby I suspect such feature could be useful.

@casperisfine casperisfine force-pushed the safe-invoke branch 2 times, most recently from 0824cce to 60bda03 Compare February 17, 2021 08:31
SUch syntax is useful for projects like buildpacks
and other automated CI/CD tools.

It would allow these tools to very easily invoke a task
if it exists, without failing if it doesn't.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants