Describe the feature
Make it possible for cdk notices to show only the unacknowledged notices. Currently it lists "the notices that are relevant to the current CDK repository, regardless of context flags or notices that have been acknowledged" [link].
Use Case
Checking if there are any unacknowledged notices in CI checks. Example package.json:
{
"scripts": {
"test": "jest",
"notices": "notices=$(cdk notices --unacknowledged-only); [ -z \"$notices\" ]",
"ci": "npm test && npm run notices"
}
}
Proposed Solution
One possible way to implement could be adding an --unacknowledged-only flag.
Other Information
No response
Acknowledgements
CDK version used
2.50.0 (build 4c11af6)
Environment details (OS name and version, etc.)
macOS Monterey 12.6.1
Describe the feature
Make it possible for
cdk noticesto show only the unacknowledged notices. Currently it lists "the notices that are relevant to the current CDK repository, regardless of context flags or notices that have been acknowledged" [link].Use Case
Checking if there are any unacknowledged notices in CI checks. Example
package.json:{ "scripts": { "test": "jest", "notices": "notices=$(cdk notices --unacknowledged-only); [ -z \"$notices\" ]", "ci": "npm test && npm run notices" } }Proposed Solution
One possible way to implement could be adding an
--unacknowledged-onlyflag.Other Information
No response
Acknowledgements
CDK version used
2.50.0 (build 4c11af6)
Environment details (OS name and version, etc.)
macOS Monterey 12.6.1