From f7f2f0dc41b75b5f2a094d33e6325fdf9e8438a8 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Mon, 26 Feb 2024 16:31:00 +0100 Subject: just analyse: add --dump-result command line option The result of the analysis is a JSON object containing the keys `"artifacts"`, `"runfiles"`, and `"provides"`. This JSON object, by default, is logged. However, it might be useful to process the data contained in it, while, for example, developing new rules. This patch adds a new command line option (`--dump-result`), reserved to the subcommand `analyse`, to dump the analysis result to the given file or stdout (if `-` is given). --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b5f18e8..15a54239 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ A feature release on top of `1.2.0`, backwards compatible. - The expression language has been extended and, in particular, allows indexed access to an arry (basically using it as a tuple) and a generic form of assertion (to report user errors). +- The `analyse` subcommand supports a new flag `--dump-result` to dump + the analysis result to a file or stdout (if `-` is given). ### Fixes -- cgit v1.2.3