genomic-medicine-sweden / NGPIris

NGPIris 👁 (intelligence and repository interface software) is a light-weight tool for interacting with a Boto3 backed Hitachi Content Platform
GNU General Public License v2.0
0 stars 3 forks source link

Add connection test to CLI #47

Closed sylvinite closed 2 years ago

sylvinite commented 2 years ago

What needs to be done: Add connection test to CLI

Suggestions on how to get it done: Add test_connection to https://github.com/genomic-medicine-sweden/NGPIris/blob/master/NGPIris/cli/base.py#L35

What are the arguments for getting it done: Users often dont realise that they aren't connected to the server

Task is considered finished when: Running a subcommand still introduces an automatic connection test