allcloud-io / clisso

Get temporary credentials for cloud providers from the command line.
Mozilla Public License 2.0
44 stars 15 forks source link

enhance credential process and logging #426

Closed bitte-ein-bit closed 3 months ago

bitte-ein-bit commented 3 months ago

Enhance the credential_process:

Rewrite logging, add more tests to ease maintainability

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9893865729

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
spinner/spinner_unix.go 0 1 0.0%
cmd/root.go 0 2 0.0%
keychain/keychain.go 1 3 33.33%
cmd/helpers.go 32 37 86.49%
cmd/status.go 0 6 0.0%
saml/saml.go 8 15 53.33%
aws/sts.go 0 8 0.0%
okta/get.go 0 8 0.0%
aws/aws.go 37 49 75.51%
onelogin/get.go 0 12 0.0%
<!-- Total: 160 388 41.24% -->
Files with Coverage Reduction New Missed Lines %
cmd/get.go 2 20.64%
log/log.go 10 31.69%
<!-- Total: 12 -->
Totals Coverage Status
Change from base Build 9853194767: 4.8%
Covered Lines: 680
Relevant Lines: 1961

💛 - Coveralls