Add a command towr healthcheck that checks:
- Check that the tower server URL is valid and reachable
- Check, using the
service-info endpoint, that the API is compatible with current CLI (see https://github.com/seqeralabs/nf-tower-cloud/issues/2029)
- Check that the provided token is valid and we can authenticate.
On any error/problem return a non-zero exit code.
Add a command
towr healthcheckthat checks:service-infoendpoint, that the API is compatible with current CLI (see https://github.com/seqeralabs/nf-tower-cloud/issues/2029)On any error/problem return a non-zero exit code.