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

Don't require being logged in to call help command #224

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

chrisscott
Copy link
Contributor

Description

When logged out or on a fresh install, the help command was blocked from running:

❯ go run cmd/auth0/main.go help

===  error

▸    Not yet configured. Try auth0 login.
exit status 1

References

https://auth0team.atlassian.net/browse/CLI-112

Testing

The main help command, help on a subcommand, and --help flags should all return help instead of an error to log in:

go run cmd/auth0/main.go logs list --help
go run cmd/auth0/main.go logs --help
go run cmd/auth0/main.go logs help
go run cmd/auth0/main.go help logs
go run cmd/auth0/main.go help
  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@Widcket Widcket requested a review from a team April 2, 2021 17:13
Copy link
Contributor

@Widcket Widcket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@Widcket Widcket merged commit b76f10a into main Apr 2, 2021
@Widcket Widcket deleted the cli-112-help-when-logged-out branch April 2, 2021 17:16
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.

2 participants