@sokeai/cli 1.0.69 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -49,28 +49,26 @@ soke-cli training-demand +list-categories --format json
|
|
|
49
49
|
|
|
50
50
|
### 提交培训需求
|
|
51
51
|
|
|
52
|
-
推荐从分类列表提取分类后,用分类 UUID
|
|
52
|
+
推荐从分类列表提取分类后,用分类 UUID 提交:
|
|
53
53
|
|
|
54
|
-
`--title` 是培训需求描述;`--tag`
|
|
54
|
+
`--title` 是培训需求描述;`--category-uuid` 来自分类列表;`--tag` 可省略,CLI 会从所选分类返回的 `tag` 自动合并;`--level` 是培训需求等级,可省略,默认 `0`。用户指定等级时只能使用 `1-5`。
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
57
|
soke-cli training-demand +create \
|
|
58
58
|
--title "门店销售沟通训练" \
|
|
59
|
-
--tag "职场心态,需求测试" \
|
|
60
59
|
--level 0 \
|
|
61
60
|
--category-uuid "FA0C937C-EE52-463B-BE3A-C13F96C426AE" \
|
|
62
|
-
--category-title "新建培训需求测试" \
|
|
63
|
-
--category-tag "职场心态,新建培训需求测试,新建培训需求,需求测试,培训需求测试,企业新建培训需求测试" \
|
|
64
61
|
--format json
|
|
65
62
|
```
|
|
66
63
|
|
|
67
|
-
|
|
64
|
+
需要指定部分标签时,显式传 `--tag`:
|
|
68
65
|
|
|
69
66
|
```bash
|
|
70
67
|
soke-cli training-demand +create \
|
|
71
|
-
--title "
|
|
68
|
+
--title "门店销售沟通训练" \
|
|
69
|
+
--tag "职场心态,需求测试" \
|
|
72
70
|
--level 1 \
|
|
73
|
-
--category-
|
|
71
|
+
--category-uuid "FA0C937C-EE52-463B-BE3A-C13F96C426AE" \
|
|
74
72
|
--format json
|
|
75
73
|
```
|
|
76
74
|
|