Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Vagrant commands should be able to output machine-readable format #1098
It would be nice if the vagrant commands themselves were scriptable.
Trying to filter through that requires a not very sane approach, it would be better if you had something like:
I.e. making the output script friendly.
For example, to convert this:
Required the following python code:
Although it is scriptable, it's not exactly clean/sane, and any future changes to status command output could break this.
I agree. Marking this as a feature requests, and I changed the subject a little bit.
I think I'd rather output in a format that is easily sliceable with unix tools, so: not JSON. Line-oriented output separated by a delimiter or whitespace would be best so you can grep/awk/sed it.
@mitchellh Do you have an ETA on this? Based on your comments on my Cucumber-Chef project I had expected, at minimum, a basic implementation of this with the "new" vagrant. I have not been able to find this functionality in the latest release of vagrant (i.e. 1.1.2). Am I missing something obvious? Thanks in advance!