–quiet not honored by auth login (possibly others)
Steps to reproduce
- Log in using mmctl.
What I expect to happen
# /usr/bin/sudo -u mattermost /usr/local/bin/mmctl --quiet auth login https://example.com --name example --access-token 123456890abcdefghijklmnopq
#
What happens instead
# /usr/bin/sudo -u mattermost /usr/local/bin/mmctl --quiet auth login https://example.com --name example --access-token 123456890abcdefghijklmnopq
credentials for "example": "Personal Access Token@https://example.com" stored
#
Potential cause
From looking at the code, output and --quiet
are implemented in Printer
, but auth
and a few other places appear to use fmt.Printf()
directly instead.