Nathan LeClaire
5000139c8e
Add ability to imply 'default' VM in commands
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-15 17:10:08 -08:00
Nathan LeClaire
aa54a5f272
Add additional tests for SSH
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-14 17:27:41 -08:00
Jean-Laurent de Morlhon
45a8f5e7a6
Returns exit code 3 on pre-create check
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-12 11:04:39 +01:00
Jean-Laurent de Morlhon
f10584ec85
Remove remaining log.Fatal
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-07 12:32:55 +01:00
David Gageot
f96595d7d0
Fix Bugnag Report not being sent
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-07 12:09:00 +01:00
Jean-Laurent de Morlhon
9cdf13b9ab
Fix double error logs in docker-machine rm
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-07 11:33:50 +01:00
David Gageot
fc025e1984
FIX #2746 Improve shell detection in bugsnag reports
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 16:57:33 +01:00
David Gageot
b36fcbce2c
FIX #2723 invalid path to docker-machine.exe on Windows/bash
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 11:01:10 +01:00
David Gageot
7442ccc585
Merge pull request #2738 from jeanlaurent/better-remove
...
Enhance remove
2016-01-06 09:39:40 +01:00
David Gageot
f5293e10e2
Crash reporting shouldn't be static
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-05 18:16:11 +01:00
Jean-Laurent de Morlhon
607bac5ce3
Fix #2671
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-05 15:52:18 +01:00
David Gageot
cd9301e252
Merge pull request #2730 from dgageot/close-api
...
Close api
2016-01-05 15:50:44 +01:00
Nathan LeClaire
e0570c0c2b
Merge pull request #2702 from dgageot/ls-format
...
Add --format, -f flag to ls command
2016-01-04 14:22:43 -08:00
David Gageot
d771d65dc4
Merge pull request #2734 from dgageot/shell-detect-package
...
Extract shell detection to its own package
2016-01-04 16:14:21 +01:00
David Gageot
b282f5abe1
Merge pull request #2729 from dgageot/simpler-code
...
Simpler code
2016-01-04 16:00:28 +01:00
David Gageot
5ff7ab91fb
Extract shell detection to its own package
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 15:58:30 +01:00
David Gageot
263f8c5cdd
Remove duplication
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 14:59:25 +01:00
David Gageot
00eee7db1d
Simplify Api
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 14:59:25 +01:00
David Gageot
67f8b19c9b
Don't use global variables. Make the Api closeable
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 14:59:15 +01:00
David Gageot
5cfdcfe7b6
Remove duplication on certificates code
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:40:21 +01:00
David Gageot
2b96c0656d
Dead code
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:39:52 +01:00
Stefan Scherer
d394cffe49
Auto-detect shell on Windows
...
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2016-01-03 03:35:12 +01:00
David Gageot
adc60712c8
Allow custom format for ls
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-28 17:15:07 +01:00
David Gageot
c64af2918e
Default template for ls command
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-28 16:18:30 +01:00
David Gageot
b935949c5e
Merge pull request #2680 from dgageot/better-swarm-error
...
Better error when swarm is not started
2015-12-24 14:25:03 +01:00
David Gageot
89d9e2fe90
Close drivers on exit
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 13:44:42 +01:00
David Gageot
946712b1f7
Fix vet issues
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 13:30:50 +01:00
David Gageot
24a13af61e
FIX #2653 docker-machine ls need to identify machine or cluster
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 18:09:24 +01:00
David Gageot
670c4808ed
FIX #2663 reduce calls to the driver in ls
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 13:58:06 +01:00
David Gageot
1744bf4fd7
Fix Powershell env hints
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 15:18:09 +01:00
David Gageot
e7e72c37d6
FIX #2655 Add quotes to the eval cmdline if there are spaces in the path
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:34:33 +01:00
David Gageot
d977ec73af
FIX #2643 Ignore empty ssh key
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 12:55:29 +01:00
David Gageot
906ac38d5a
Merge pull request #2607 from askb/2595-dm-force-fails
...
Fixes #2595 remove fails when config.json is not found
2015-12-21 09:06:48 +01:00
Anil Belur
403b57437f
Fixes #2595 `dm rm` fails when config.json is not found
...
This issue occurs when `api.Load()` fails while loading
the `config.json` file, in case the config file is not present.
Refactored the code to handled `-y` and `-f` as documented.
Now added UT for remove options.
Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-19 12:01:41 +05:30
Jean-Laurent de Morlhon
c279d0aba2
Default to cmd shell on windows
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-18 11:42:11 +01:00
Jean-Laurent de Morlhon
c07067c7e4
Detect fish shell
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-17 16:43:59 +01:00
Jean-Laurent de Morlhon
854219d44a
Clearer writer name
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-16 16:51:03 +01:00
Nathan LeClaire
06c97cfb17
Fix STDOUT and STDERR direction based on Log.* calls
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-12-15 18:01:42 -08:00
David Gageot
f66655fd77
FIX #2280 prevent nil dereference
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-14 15:24:57 +01:00
Jean-Laurent de Morlhon
02dde087c9
Merge pull request #2552 from nathanleclaire/ls_timeout_nits
...
Aesthetic nitpicks on ls timeout
2015-12-11 10:55:40 +01:00
Jean-Laurent de Morlhon
ac41fba24e
Merge pull request #2541 from dougm/env-emacs
...
Add emacs support to env command
2015-12-11 09:37:06 +01:00
Nathan LeClaire
5358010229
Merge pull request #2526 from jeanlaurent/bugsnag
...
Monitor and report bug with bugsnag
2015-12-10 19:01:22 -08:00
Doug MacEachern
4e58bb9434
Add emacs support to env command
...
Signed-off-by: Doug MacEachern <dougm@vmware.com>
2015-12-10 15:29:14 -08:00
Nathan LeClaire
29ffc04cc9
Aesthetic nitpicks on ls timeout
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-12-10 13:25:13 -08:00
Jean-Laurent de Morlhon
4f0c24483b
bugsnag integration
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-10 17:05:05 +01:00
Jean-Laurent de Morlhon
02c235b8b9
Fix #2534 and #1696
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-10 16:51:59 +01:00
Jean-Laurent de Morlhon
f37a0290dd
Add shell list to help command
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-09 09:46:03 +01:00
Anil Belur
a2a9ebb078
Minor fix updating the sub-command rm usage with -f.
...
This is a follow up for #2349
Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-08 16:55:54 +05:30
David Gageot
be1d75f1c5
Merge pull request #2522 from dgageot/simplify-ls-tests
...
Simplify ls command tests
2015-12-08 10:50:19 +01:00
Jean-Laurent de Morlhon
a729e3e2f6
Merge pull request #2464 from askb/2310_filter_engine_label
...
Fixes issue #2310 - docker-machine ls --filter with engine label
2015-12-08 10:36:21 +01:00