tower-cli
tower-cli copied to clipboard
Option to dump environment details to screen/file to report in issues
If possible, it would be nice to maybe dump the environment info to screen/file so it can be uploaded to Github issues. I am not entirely sure what would be required for proper debugging. Could maybe start with the TOWER*
environment variables and the version of tw
as low hanging fruit.
In the future, given we can add/create/update quite a few levels of info via tw
e.g. credentials
, pipelines
, workspaces
, organizations
maybe we can produce a redacted list of info that can be dumped to screen for easy access when debugging.
I assume some of this will already be used to perform the health check?
There is this idea to convert the health
command into info
command: https://github.com/seqeralabs/tower-cli/issues/66
Maybe we can also add different verbose levels to the info
command and the highest can be useful for reporting issues.