diff --git a/CHANGELOG.md b/CHANGELOG.md index c610dca1..80352fae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- TDB +- Fixed task creating CLI parameter () ### Security diff --git a/site/content/en/docs/manual/advanced/cli.md b/site/content/en/docs/manual/advanced/cli.md index 2738cfce..1b2f5f3b 100644 --- a/site/content/en/docs/manual/advanced/cli.md +++ b/site/content/en/docs/manual/advanced/cli.md @@ -12,7 +12,7 @@ comprehensive CVAT administration tool in the future. Overview of functionality: -- Create a new task (supports name, bug tracker, labels JSON, local/share/remote files) +- Create a new task (supports name, bug tracker, project, labels JSON, local/share/remote files) - Delete tasks (supports deleting a list of task IDs) - List all tasks (supports basic CSV or JSON output) - Download JPEG frames (supports a list of frame IDs) diff --git a/utils/cli/core/definition.py b/utils/cli/core/definition.py index bab3cacb..daf174e7 100644 --- a/utils/cli/core/definition.py +++ b/utils/cli/core/definition.py @@ -113,7 +113,7 @@ task_create_parser.add_argument( help='string or file containing JSON labels specification' ) task_create_parser.add_argument( - '--project', + '--project_id', default=None, type=int, help='project ID if project exists'