Azure / Azure/template-analyzer
[FEATURE REQ] Improvements for console output when scanning directories with modules
- Dominant language
- C#
- Stars
- 143
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
### Please describe the feature or suggestion.
Currently, when using the CLI to scan a directory that contains templates with modules, the console output can be improved in a couple ways:
1. Remove output for templates scanned that have no further results to output. This can happen if all of a template's results are in modules/other templates and has no direct results of its own. All of the template's results would be output under other templates that actually contain the results, not a reference to them.
2. Properly reflect the number of files scanned when scanning a directory with modules. The tool will potentially scan more templates than are in a directory if one of the scanned templates reference a template outside of that directory. Bicep modules use relative paths for modules so "../../../../someTemplate.json" is a valid path for a module.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.