Implement --updateAll and use Resources for reading/writing
Fixes: #25
Implemented --updateAll which is like --addAll but for in-place update (i.e., update prechecks)
Read/Write code is going through Resources
Support for embedded resources
More code re-use
More encapsulation of file naming and directory structure
Removed --addPattern because it was never implemented (we have --addAll)
Allow addAll with custom templates and use embedded resources
Embedded resources help the API/build use case!
Allow --addAll to work with custom or spdx (embedded) or customPath or spdxPath (not embedded)
Stopped using "resources" in favor of separate --customPath and --spdxPath
So... --spdx and --custom refer only to the embedded dirs under our resources dir
To use other external resources, specify --customPath or --spdxPath
"resources" was handy for tests and things but is confusing to document. Our primary use case is probably embedded --spdx plus custom/customPath policies that are either embedded or not.
Default config.json is no longer needed (was just resources="resources") but config files can still be used to override default flags.
Implement --updateAll and use Resources for reading/writing
Fixes: #25
Allow addAll with custom templates and use embedded resources
Signed-off-by: Mark Sturdevant mark.sturdevant@ibm.com