Skip to content

DeleteProjects

Delete SysReptor projects.
Dry run is default: No projects are deleted unless you specify --no-dry-run.

Example

1
2
3
reptor deleteprojects --title-contains "delete me"  # Delete projects matching the search query
reptor deleteprojects --exclude-title-contains "leave me"  # Exclude projects with search query
reptor deleteprojects --no-dry-run  # Delete all projects, no dry run

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
usage: reptor deleteprojects [-h] [--title-contains SEARCHTERM]
                             [--exclude-title-contains SEARCHTERM]
                             [--no-dry-run]

Deletes projects by title

optional arguments:
  -h, --help            show this help message and exit
  --title-contains SEARCHTERM
                        Match string in title
  --exclude-title-contains SEARCHTERM
                        Matched strings in title are not deleted
  --no-dry-run          Do delete projects, default is dry-run