Commit Graph

18 Commits

Author SHA1 Message Date
Ben Firshman a913c06888 Restore sorting of ls output
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-15 10:46:35 -08:00
Ben Firshman 91172449c0 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>
2014-12-15 10:45:55 -08:00
Ben Firshman da95ea3968 Merge pull request #103 from ggiamarchi/machine-name-optional
Make machine name optional in CLI
2014-12-15 17:53:30 +00:00
Guillaume Giamarchi d730d39c48 Avoid code duplication
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-14 02:11:24 +01:00
Guillaume Giamarchi 8613b941e8 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>
2014-12-14 02:09:08 +01:00
Guillaume Giamarchi 6c5da2bc0e 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>
2014-12-13 18:46:52 +01:00
Evan Hazlett 909e69baff initial work on aws for machine; huge thanks to @nathanleclaire for the
initial implementation

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 17:00:57 -05:00
Evan Hazlett 2435f265f2
fixes #94: url does not return active machine
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 15:40:30 -05:00
Simon Thulbourn b44db20335 implements a -c/--command flag for ssh
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:28:30 +00:00
Simon Thulbourn 0295e00edb makes the name optional for stop/start/ssh/upgrade
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:11:38 +00:00
Simon Thulbourn 64c73597e2 adds codegangsta/cli
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:11:17 +00:00
Guillaume Giamarchi d8921ee432 Move HostListItem from host.go to command.go
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-12 01:53:24 +01:00
Guillaume Giamarchi 8797ca2d50 Rename HostState struct to HostListItem
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-12 01:44:34 +01:00
Guillaume Giamarchi 1547a48dde Sort `machine ls` output by machine name
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2014-12-12 00:39:08 +01:00
Ben Firshman dcf081d758 Check that public key exists when creating machine
Fixes #4

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-06 20:54:41 +01:00
Ben Firshman b8ec7bf9a3 Fix command name in help text
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-06 20:33:42 +01:00
Ben Firshman ceec43ebcc Explain setting up Docker to run against machines
Closes #14

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-05 13:58:26 +01:00
Ben Firshman 73d19108bf Initial commit
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-04 15:05:11 +01:00