Delete (rm)

usage: adr.bat rm [-h] [--type {item,template}] [--query query_string] [--verbose] [--test] adr_server_url

Delete selected items or report templates from the ADR server. Note: if the query type is 'template', the query will be
automatically prefixed to restrict the query to top level templates. Only top level templates may be deleted and if they
are, all of their children will be deleted as well.

positional arguments:
adr_server_url        ADR server URL. Example: http://nexus:cei@127.0.0.1:8000

options:
-h, --help            show this help message and exit
--type {item,template}
                        Select the object type to remove. Default: item
--query query_string  Specify a query string using URI syntax.  Default: no filter
--verbose             Enable verbose mode
--test                Validate the operation, but do not perform it

This tool deletes a selected collection of objects (data items or templates) from a server.

Argument/OptionDescription
Arguments
adr_server_urlSpecifies the hostname, port, username and password of the ADR server to delete items from. For example: http://nexus:cei@127.0.0.1:8000 specifies a server running on the local machine (127.0.0.1) on port 8000. The username is nexus and the password is cei.
Options
-h, --helpDisplays the usage message and exits.
--verboseDisplays additional status and progress information during the operation.
--testSimulates the operation without actually performing it. This is helpful when debugging command lines, especially when used in conjunction with the --verbose option.
--type {item,template}Specifies the type of objects to delete. This command can delete data items or templates. It may delete sessions/datasets implicitly if they no are no longer referenced.
--query query_stringUses the query string to select the specific objects of the specified type (--type {option}) to perform the operation on. See Query Expressions for the syntax.