strmprivacy / cli

This is the STRM Privacy Command Line Interface, to define and manage your privacy streams, data schemas, event contracts and much more.
https://strmprivacy.io
Apache License 2.0
6 stars 2 forks source link

STRM-1198 add project context switching #95

Closed ivan-p92 closed 2 years ago

ivan-p92 commented 2 years ago

@bobvandenhoogen the build currently fails on test execution due to the attempted initDefaultProject during the rootCmdPreRun, since those tests are unauthenticated, see the stacktraces in the GH action. It's probably cleanest to catch/prevent the panic and make sure the expected message is printed: No login information found. Use: `dstrm auth login` first.

If the default project init has further impact on tests, it may be best to pass the project id to use with the --project flag in the tests.

strmprivacy-io commented 2 years ago

:tada: This PR is included in version 2.3.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: