From 475a688e3837614cccff6d5fee8913902ed324c5 Mon Sep 17 00:00:00 2001 From: Ashwin Ramesh Date: Wed, 25 Aug 2021 16:00:38 +0530 Subject: [PATCH] Update cli.md with missing features (upload, export, import) (#3572) * These features exist in the code but not in documentation --- site/content/en/docs/manual/advanced/cli.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/site/content/en/docs/manual/advanced/cli.md b/site/content/en/docs/manual/advanced/cli.md index 8d487b63..03150336 100644 --- a/site/content/en/docs/manual/advanced/cli.md +++ b/site/content/en/docs/manual/advanced/cli.md @@ -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`