@contentstack/cli-auth 2.0.0-beta.15 → 2.0.0-beta.16
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/README.md +6 -6
- package/lib/commands/auth/whoami.js +1 -1
- package/oclif.manifest.json +2 -2
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @contentstack/cli-auth
|
|
2
2
|
|
|
3
|
-
It is Contentstack’s CLI plugin to perform authentication-related activities. To get started with authentication, refer to the [CLI’s Authentication documentation](https://www.contentstack.com/docs/
|
|
3
|
+
It is Contentstack’s CLI plugin to perform authentication-related activities. To get started with authentication, refer to the [CLI’s Authentication documentation](https://www.contentstack.com/docs/headless-cms/cli/authentication)
|
|
4
4
|
|
|
5
5
|
[](https://github.com/contentstack/cli/blob/main/LICENSE)
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
|
|
|
18
18
|
$ csdx COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ csdx (--version)
|
|
21
|
-
@contentstack/cli-auth/2.0.0-beta.
|
|
21
|
+
@contentstack/cli-auth/2.0.0-beta.16 linux-x64 node-v22.23.1
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -230,14 +230,14 @@ _See code: [src/commands/auth/tokens/remove.ts](https://github.com/contentstack/
|
|
|
230
230
|
|
|
231
231
|
## `csdx auth:whoami`
|
|
232
232
|
|
|
233
|
-
Display current
|
|
233
|
+
Display current user's email address
|
|
234
234
|
|
|
235
235
|
```
|
|
236
236
|
USAGE
|
|
237
237
|
$ csdx auth:whoami
|
|
238
238
|
|
|
239
239
|
DESCRIPTION
|
|
240
|
-
Display current
|
|
240
|
+
Display current user's email address
|
|
241
241
|
|
|
242
242
|
ALIASES
|
|
243
243
|
$ csdx whoami
|
|
@@ -306,14 +306,14 @@ EXAMPLES
|
|
|
306
306
|
|
|
307
307
|
## `csdx whoami`
|
|
308
308
|
|
|
309
|
-
Display current
|
|
309
|
+
Display current user's email address
|
|
310
310
|
|
|
311
311
|
```
|
|
312
312
|
USAGE
|
|
313
313
|
$ csdx whoami
|
|
314
314
|
|
|
315
315
|
DESCRIPTION
|
|
316
|
-
Display current
|
|
316
|
+
Display current user's email address
|
|
317
317
|
|
|
318
318
|
ALIASES
|
|
319
319
|
$ csdx whoami
|
|
@@ -26,6 +26,6 @@ class WhoamiCommand extends base_command_1.BaseCommand {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
exports.default = WhoamiCommand;
|
|
29
|
-
WhoamiCommand.description =
|
|
29
|
+
WhoamiCommand.description = "Display current user's email address";
|
|
30
30
|
WhoamiCommand.examples = ['$ csdx auth:whoami'];
|
|
31
31
|
WhoamiCommand.aliases = ['whoami'];
|
package/oclif.manifest.json
CHANGED
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"whoami"
|
|
107
107
|
],
|
|
108
108
|
"args": {},
|
|
109
|
-
"description": "Display current
|
|
109
|
+
"description": "Display current user's email address",
|
|
110
110
|
"examples": [
|
|
111
111
|
"$ csdx auth:whoami"
|
|
112
112
|
],
|
|
@@ -435,5 +435,5 @@
|
|
|
435
435
|
]
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
|
-
"version": "2.0.0-beta.
|
|
438
|
+
"version": "2.0.0-beta.16"
|
|
439
439
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-auth",
|
|
3
3
|
"description": "Contentstack CLI plugin for authentication activities",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.16",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"scripts": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"lint": "eslint src/**/*.ts"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@contentstack/cli-command": "~2.0.0-beta.
|
|
19
|
-
"@contentstack/cli-utilities": "~2.0.0-beta.
|
|
18
|
+
"@contentstack/cli-command": "~2.0.0-beta.10",
|
|
19
|
+
"@contentstack/cli-utilities": "~2.0.0-beta.11",
|
|
20
20
|
"@oclif/core": "^4.11.4",
|
|
21
21
|
"otplib": "^12.0.1"
|
|
22
22
|
},
|
|
@@ -75,5 +75,9 @@
|
|
|
75
75
|
"auth:tokens:remove": "RMVTKN"
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
"repository":
|
|
79
|
-
|
|
78
|
+
"repository": {
|
|
79
|
+
"type": "git",
|
|
80
|
+
"url": "git+https://github.com/contentstack/cli.git",
|
|
81
|
+
"directory": "packages/contentstack-auth"
|
|
82
|
+
}
|
|
83
|
+
}
|