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

Requesting a guide on handling sudo request #677

Open
jayshah123 opened this issue Oct 25, 2024 · 0 comments
Open

Requesting a guide on handling sudo request #677

jayshah123 opened this issue Oct 25, 2024 · 0 comments

Comments

@jayshah123
Copy link

jayshah123 commented Oct 25, 2024

Requesting a guide on handling sudo request.
It is common to run certain sub commands with sudo request.
These commands need an input which does not show up in the render output of ink.

Is there an example/guide for sudo management for child commands?
As one of the sub-commands in I app, I need to run brew upgrade which inturn needs sudo permission sometimes in order to uninstall packages. How can this be correctly handled with ink?

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