Not very useful, but it does work.
import Data.Time.Clock
cmd :: Command
-cmd = notBareRepo $ withAnnexOptions [backendOption] $
+cmd = notBareRepo $ withAnnexOptions [backendOption, jsonOptions] $
command "addcomputed" SectionCommon "add computed files to annex"
(paramRepeating paramExpression)
(seek <$$> optParser)
import System.PosixCompat.Files (isSymbolicLink)
cmd :: Command
-cmd = notBareRepo $
+cmd = notBareRepo $ withAnnexOptions [jsonOptions] $
command "recompute" SectionCommon "recompute computed files"
paramPaths (seek <$$> optParser)
Specifies which key-value backend to use.
+* `--json`
+
+ Enable JSON output. This is intended to be parsed by programs that use
+ git-annex. Each line of output is a JSON object.
+
* Also the [[git-annex-common-options]](1) can be used.
# SEE ALSO
This is the default when the compute remote indicates that it produces
reproducible output.
+* `--json`
+
+ Enable JSON output. This is intended to be parsed by programs that use
+ git-annex. Each line of output is a JSON object.
+
* matching options
The [[git-annex-matching-options]](1) can be used to control what