add --json-error-messages (not yet implemented)
Added --json-error-messages option, which includes error messages in the json output, rather than outputting them to stderr. The actual rediretion of errors is not implemented yet, this is only the docs and option plumbing. This commit was supported by the NSF-funded DataLad project.
This commit is contained in:
parent
fa65f1d240
commit
6583448bab
46 changed files with 164 additions and 69 deletions
|
@ -23,7 +23,7 @@ import Data.Aeson
|
|||
import Control.Concurrent
|
||||
|
||||
cmd :: Command
|
||||
cmd = withGlobalOptions ([jsonOption] ++ annexedMatchingOptions) $
|
||||
cmd = withGlobalOptions [jsonOptions, annexedMatchingOptions] $
|
||||
command "metadata" SectionMetaData
|
||||
"sets or gets metadata of a file"
|
||||
paramPaths (seek <$$> optParser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue