cht-conf 3.11.0 → 3.11.1
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/fn/move-contacts.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.11.1](https://github.com/medic/cht-conf/compare/v3.11.0...v3.11.1) (2022-06-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **#482:** move-contacts usage docs ([5fa86c8](https://github.com/medic/cht-conf/commit/5fa86c8e98797d8920ee20f2e7f16c98aa969201)), closes [#482](https://github.com/medic/cht-conf/issues/482)
|
|
7
|
+
|
|
1
8
|
# [3.11.0](https://github.com/medic/cht-conf/compare/v3.10.2...v3.11.0) (2022-04-19)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/fn/move-contacts.js
CHANGED
|
@@ -101,7 +101,7 @@ const parseExtraArgs = (projectDir, extraArgs = []) => {
|
|
|
101
101
|
|
|
102
102
|
if (contactIds.length === 0) {
|
|
103
103
|
usage();
|
|
104
|
-
throw Error('Action "move-contacts" is missing required list of
|
|
104
|
+
throw Error('Action "move-contacts" is missing required list of contacts to be moved');
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
if (!args.parent) {
|
|
@@ -137,7 +137,7 @@ ${bold('cht-conf\'s move-contacts action')}
|
|
|
137
137
|
When combined with 'upload-docs' this action effectively moves a contact from one place in the hierarchy to another.
|
|
138
138
|
|
|
139
139
|
${bold('USAGE')}
|
|
140
|
-
cht --local move-contacts -- --
|
|
140
|
+
cht --local move-contacts -- --contacts=<id1>,<id2> --parent=<parent_id>
|
|
141
141
|
|
|
142
142
|
${bold('OPTIONS')}
|
|
143
143
|
--contacts=<id1>,<id2>
|