Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add safe invocation CLI syntax #375

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

Open
casperisfine wants to merge 1 commit into ruby:master
base: master
Choose a base branch
Loading
from casperisfine:safe-invoke

Conversation

@casperisfine
Copy link

@casperisfine casperisfine commented Feb 9, 2021

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

Reviewers

1 more reviewer

@nobu nobu nobu left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /