Update cli.md with missing features (upload, export, import) (#3572)

* These features exist in the code but not in documentation
main
Ashwin Ramesh 5 years ago committed by GitHub
parent 1190e6c5e5
commit 475a688e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,18 +17,21 @@ Overview of functionality:
- List all tasks (supports basic CSV or JSON output)
- Download JPEG frames (supports a list of frame IDs)
- Dump annotations (supports all formats via format string)
- Upload annotations for a task in the specified format (e.g. 'YOLO ZIP 1.0')
- Export and download a whole task
- Import a task
**Usage**
```bash
usage: cli.py [-h] [--auth USER:[PASS]] [--server-host SERVER_HOST]
[--server-port SERVER_PORT] [--debug]
{create,delete,ls,frames,dump} ...
{create,delete,ls,frames,dump,upload,export,import} ...
Perform common operations related to CVAT tasks.
positional arguments:
{create,delete,ls,frames,dump}
{create,delete,ls,frames,dump,upload,export,import}
optional arguments:
-h, --help show this help message and exit
@ -45,11 +48,11 @@ optional arguments:
**Examples**
- List all tasks
`cli.py ls`
- Create a task
`cli.py create "new task" --labels labels.json local file1.jpg file2.jpg`
- Delete some tasks
`cli.py delete 100 101 102`
- List all tasks
`cli.py ls`
- Dump annotations
`cli.py dump --format "CVAT for images 1.1" 103 output.xml`

Loading…
Cancel
Save