node-docker-machine
node-docker-machine copied to clipboard
Fix to support args without values
Fix to support args without values.
Can you give an example of an arg/option where this is a problem?
@vweevers it can be any "boolean" argument that docker-machine driver consumes. E.g. --amazonec2-request-spot-instance
Wouldn't options[key] be true in that case? 🤔
Perhaps we should replace the options object with an args array. That way you can pass in anything and node-docker-machine wouldn't have to translate.
In case of true it should be "true" to get it work with aws driver. But other drivers may have issues.