Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Add option to merge via ruby objects #9

Open
jrperron88-zz opened this issue Jan 14, 2021 · 0 comments
Open

Add option to merge via ruby objects #9

jrperron88-zz opened this issue Jan 14, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jrperron88-zz
Copy link
Contributor

Currently we are using string replace to preserve formatting and comments.

Add an option to the command to support using object to object merging and output.

The merge functionality already exists in the codebase.

The to_ruby function will need to be tweaked for formatting

--merge will use object merging

--sub will use current string substitution

inspec_delta profile update --profile_path --stig_file_path <stig.xml> (–-merge) (--sub)

@jrperron88-zz jrperron88-zz added the enhancement New feature or request label Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant