@magda/acs-cmd 5.0.1 → 5.2.0-alpha.0
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/bin/acs-cmd-admin.js +1 -1
- package/package.json +3 -3
package/bin/acs-cmd-admin.js
CHANGED
|
@@ -47,7 +47,7 @@ import chalk from "chalk";
|
|
|
47
47
|
var pkg = require2("../package.json");
|
|
48
48
|
program.version(pkg.version).description(
|
|
49
49
|
`A tool for setting / unsetting Admin role / status to a user. Version: ${pkg.version}
|
|
50
|
-
Hint: Use 'acs-cmd list users' command to list all users in
|
|
50
|
+
Hint: Use 'acs-cmd list users' command to list all users in the system`
|
|
51
51
|
).command("set <userId>", "Make a user an admin user").command("unset <userId>", "Remove admin role / status from a user").on("command:*", function(cmds) {
|
|
52
52
|
if (["set", "unset"].indexOf(cmds[0]) === -1) {
|
|
53
53
|
console.error(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magda/acs-cmd",
|
|
3
3
|
"description": "MAGDA Account Management Utilities",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.2.0-alpha.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"acs-cmd": "./bin/acs-cmd.js"
|
|
7
7
|
},
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@magda/scripts": "^5.0.
|
|
26
|
-
"@magda/typescript-common": "^5.0.
|
|
25
|
+
"@magda/scripts": "^5.2.0-alpha.0",
|
|
26
|
+
"@magda/typescript-common": "^5.2.0-alpha.0",
|
|
27
27
|
"esbuild": "^0.19.10",
|
|
28
28
|
"fs-extra": "^11.2.0"
|
|
29
29
|
},
|