datalad-hirni-spec4anything¶
Synopsis¶
datalad-hirni-spec4anything [-h] [-d PATH] [--spec-file SPEC_FILE] [--properties PATH or JSON string] [--replace] [PATH [PATH ...]]
Options¶
PATH¶
path(s) of the data to create specification for. Each path given will be treated as a data entity getting its own specification snippet. Constraints: value must be a string
-h, –help, –help-np¶
show this help message. –help-np forcefully disables the use of a pager for displaying the help message
-d PATH, –dataset PATH¶
specify the dataset. If no dataset is given, an attempt is made to identify the dataset based on the current working directory and/or the PATH given. Constraints: Value must be a Dataset or a valid identifier of a Dataset (e.g. a path)
–spec-file SPEC_FILE¶
path to the specification file to modify. By default this is a file named ‘studyspec.json’ in the acquisition directory. This default name can be configured via the ‘datalad.hirni.studyspec.filename’ config variable. Constraints: value must be a string
–properties PATH or JSON string¶
Constraints: value must be a string
–replace¶
if set, replace existing spec if values of ‘type’, ‘location’ ” “and ‘id’ match. Note, that only the first match will be ” “replaced.
Authors¶
datalad is developed by DataLad developers <team@datalad.org>.