google / oauth2l

oauth2l ("oauth tool") is a simple CLI for interacting with Google API authentication.
Apache License 2.0
651 stars 81 forks source link

Improved OAuth2l Client Interface #70

Closed andyrzhao closed 5 years ago

andyrzhao commented 5 years ago

-Enhanced command-line flag parsing via "go-flags" library. This improves code readability and provides context-aware help messages. Also provides enforcement of required flags, and rejects incompatible flags. -Added explicit flags for GUAC arguments such as "scope" and "audience". Maintains backward compatibility with implicit flags and deprecated flags. -Added support for a new "curl" command, which is a short-cut for making a curl request with a fetched token. -Updated documentation.

shinfan commented 5 years ago

LGTM Note: The Travis failure is due to the tool infra issue and not related to this PR.