Within the planner aspect, there are typically more options provided on get level with the ability to retrieve it by plannerName, bucketName, etc. I think it could be interesting to align planner task get with this capability. Then we would get the following options.
| Option |
Description |
-i, --id [id] |
ID of the task. Specify either id or title but not both. When you specify the task ID, you no longer need to provide the information for bucket, plan, and ownerGroup. |
-t, --title [title] |
Title of the task. Specify either id or title but not both. |
--bucketId [bucketId] |
Bucket ID to which the task belongs. Specify bucketId or bucketName when using title. |
--bucketName [bucketName] |
Bucket Name to which the task belongs. Specify bucketId or bucketName when using title. |
--planId [planId] |
Plan ID to which the task belongs. Specify planId or planName when using bucketName. |
--planName [planName] |
Plan Name to which the task belongs. Specify planId or planName when using bucketName. |
--ownerGroupId [ownerGroupId] |
ID of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName. |
--ownerGroupName [ownerGroupName] |
Name of the group to which the plan belongs. Specify ownerGroupId or ownerGroupName when using planName. |
Within the
planneraspect, there are typically more options provided ongetlevel with the ability to retrieve it byplannerName,bucketName, etc. I think it could be interesting to alignplanner task getwith this capability. Then we would get the following options.-i, --id [id]idortitlebut not both. When you specify the task ID, you no longer need to provide the information forbucket,plan, andownerGroup.-t, --title [title]idortitlebut not both.--bucketId [bucketId]bucketIdorbucketNamewhen usingtitle.--bucketName [bucketName]bucketIdorbucketNamewhen usingtitle.--planId [planId]planIdorplanNamewhen usingbucketName.--planName [planName]planIdorplanNamewhen usingbucketName.--ownerGroupId [ownerGroupId]ownerGroupIdorownerGroupNamewhen usingplanName.--ownerGroupName [ownerGroupName]ownerGroupIdorownerGroupNamewhen usingplanName.