mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
* Refactor 'inspec init profile' into a reusable component. base_cli.rb had several methods used internally, these are exposed so lib/bundles/inspec-init/profile.rb can act as a library for anything that needs to create new Inspec profiles programatically * Move output methods to be public instance methods; and make Init::Profile into a working renderer. Functional tests pass but could use some refactoring to be easier to use. * Refactor, renaming vars to be clearer * Move puts and exit calls into basecli * Add comment about simplified ERB rendering in ruby 2.5.0+ Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com> |
||
---|---|---|
.. | ||
bundles | ||
fetchers | ||
inspec | ||
matchers | ||
resource_support | ||
resources | ||
source_readers | ||
utils | ||
inspec.rb |