petejkim / autoparts

package manager for nitrous.io
BSD 2-Clause "Simplified" License
81 stars 84 forks source link

Support for machine-readable outputs #138

Closed laktek closed 10 years ago

laktek commented 10 years ago

Need to pass --machine-readable option to supported commands.

Updated to output JSON with --json option as per the comments.

dqminh commented 10 years ago

can we just output json with --json instead ?

petejkim commented 10 years ago

Exactly what I was thinking

laktek commented 10 years ago

Updated to output JSON with --json.

arunthampi commented 10 years ago

Is the json gem part of rubygems by default (or is it in stdlib now)? We don't have any gem dependencies right?

petejkim commented 10 years ago

it's built in to stdlib

chuyeow commented 10 years ago

LGTM other than my comments.

laktek commented 10 years ago

@chuyeow Updated as per your comments. Thanks.