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

Improve permission errors for the update and compose subcommands #8

Merged
merged 7 commits into from
Oct 24, 2020

Conversation

velovix
Copy link
Member

@velovix velovix commented Oct 23, 2020

A check is done preemptively to guess if the user has the necessary permissions to do these operations and provides guidance if necessary. This prevents the CLI from crashing later on with unhelpful stack traces.

Fixes #2.

@velovix velovix merged commit 7e99513 into master Oct 24, 2020
@velovix velovix deleted the improve-compose-permission-errors branch October 24, 2020 23:04
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

Successfully merging this pull request may close these issues.

Should commands that need permissions request permissions before beginning?
4 participants