Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation. Fix mistakes in CLI section #4251

Merged
merged 2 commits into from
Jan 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions site/content/en/docs/manual/advanced/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ by using the [label constructor](/docs/manual/basics/creating_an_annotation_task
```bash
cli.py dump --format "CVAT for images 1.1" 103 output.xml
```
- Dump annotation task with id 104, in the format `COCO 1.0` and save to the file "output.tar":
```bash
cli.py dump --format "COCO 1.0" 104 output.tar
```

### Upload annotation

Expand All @@ -189,14 +193,14 @@ by using the [label constructor](/docs/manual/basics/creating_an_annotation_task

### Export task

- Export task with id 136 in the format `COCO 1.0` :
- Export task with id 136 to file "task_136.tar":
```bash
cli.py export --format "COCO 1.0" 136
cli.py export 136 task_136.tar
```

### Import

- Import task from file "task_backup.zip" :
- Import task from file "task_backup.zip":
```bash
cli.py import task_backup.zip
```