Sets up and returns a Client instance.
Handles loading config, creating connections from command-line args, and testing the connection.
| command_line |
The ApplicationCommandLine for output |
|
Configured Client instance |
| Error |
if setup fails |