From bbd3319a00e91bd50fcabeb99e6096a349f692ca Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 7 Nov 2022 09:00:00 +0100 Subject: Support dumping variables of the analysed target Add an option --dump-vars showing the variables of the configuration used (including the use of them being unset). This information can be used, e.g., to export a given target in a maximally flexible way. --- share/man/just.1.org | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'share') diff --git a/share/man/just.1.org b/share/man/just.1.org index 4e0fd284..c9008763 100644 --- a/share/man/just.1.org +++ b/share/man/just.1.org @@ -448,6 +448,15 @@ well-defined graph file. See *just-graph-file(5)* for more details. Dump nodes of only the given target to file. ~-~ is treated as stdout. Output is a JSON map between node id and its description. + *--dump-vars* PATH\\ + Dump configuration variables to file. ~-~ is treated as + stdout. The output is a JSON list of those variable names (in + lexicographic order) at which the configuration influenced the + analysis of this target. This might contain variables unset + in the configuraiton if the fact that they were unset (and + hence treated as the default ~null~) was relevant for the + analysis of that target. + *--dump-targets* PATH\\ Dump all transitive targets to file for the given target. ~-~ is treated as stdout. Output is a JSON map of all targets encoded as -- cgit v1.2.3