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

Possible to add something like "--cancel-action"? #51

Open
wmehilos opened this issue Jun 3, 2020 · 1 comment
Open

Possible to add something like "--cancel-action"? #51

wmehilos opened this issue Jun 3, 2020 · 1 comment

Comments

@wmehilos
Copy link

wmehilos commented Jun 3, 2020

No description provided.

@wmehilos wmehilos closed this as completed Jun 3, 2020
@wmehilos wmehilos changed the title Possible to add something like "--cancel-btn-action Possible to add something like "--cancel-action"? Jun 3, 2020
@wmehilos
Copy link
Author

wmehilos commented Jun 3, 2020

Whoops, hit enter a little too early I guess. Anyways...

Would it be possible to add the ability to run a different action were a user to click the "cancel" button? Or is there just a limitation set by Apple on that where the cancel button can only close the notification?

It would be useful for tasks that don't have strict yes/no responses. For example, something like an alert for software updates could be a "yes, do it now" or "yes, but not now".

@wmehilos wmehilos reopened this Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant