"Upload data pointed to by this argument, unless --file is specified."
" Non-local contents is first downloaded to a temporary file."
"The %s will be 'file-urlmd5:md5(URL)'. If not given, the uploaded data is not indexed."%id_help,
"%s - WARNING: The identifier must be chosen carefully. Ideally, it should be a URI. It should never contain more that 1000 entries. To avoid the latter case, developpers may include the year into the identifier and make sure the client falls back to the previous years when the resource is not found."%id_help,
" Non-local contents is first downloaded to a temporary file.",
key_help+" if --url is given, else the uploaded data are not indexed."
" This should be a unique value that refers to related entries,"
" and that starts with 'SCHEME:' where SCHEME"
" indicates how (or by what) the data is processed."
" For performance reasons, avoid having too"
" many entries by making your key more specific.",
False)
parser.add_argument('--file',
help="Upload the contents of this file, overriding --url. The %s will depend on whether --url or --id is used."%id_help)
help="Upload the contents of this file, overriding --url.")
parser.add_argument('--metadata',
help="Take a file containing a json-serializable dictionary with shadir metadata.")
help='Filter metadata. Each argument represents a filter with a comparison condition. The filters will be applied one by one with the arguments processed in the order of appearance.VALUE is expected to be a json dump of a comparable object in Python (strings included), except when the separator is ":" (in this case VALUE must be min or max).')