Fix bug SSH interactive mode

Commit b44db20 introduced a bug that broke
the SSH interactive mode. If no command is
provided, Driver.GetSSHCommand is called with
an empty string instead of no parameter.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
Make machine name optional in CLI

For commands inspect, ip, kill and restart.
It is already implemented for the others.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
Avoid code duplication

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
Merge pull request #101 from ggiamarchi/fix-interactive-ssh

Fix bug SSH interactive mode
Merge pull request #103 from ggiamarchi/machine-name-optional

Make machine name optional in CLI
Handle errors in commands

Some errors were swallowed entirely, some didn't print the error
message.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Restore sorting of ls output

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #97 from bfirsh/cli-regressions

Fix CLI regressions