bernd / fpm-cookery

A tool for building software packages with fpm.
Other
460 stars 88 forks source link

Add `inspect` subcommand #165

Closed tomeon closed 8 years ago

tomeon commented 8 years ago

Per the feature request from @josegonzalez in #160.

Adds an inspect subcommand that:

  1. Prints a formatted ERB template string if --format was provided, or
  2. Prints the recipe's attributes as a JSON object without --format.

N.B. This branch is experiencing build failures due to the json gem dependency issue. I will open a separate PR that updates the gemspec to peg the dependency at a version compatible with pre-2.0 Rubies.

bernd commented 8 years ago

Awesome, thank you! :+1: