@contentstack/cli-auth 1.5.0 → 1.5.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/README.md +1 -1
- package/lib/commands/auth/whoami.js +0 -1
- package/messages/index.json +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -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/1.5.
|
|
21
|
+
@contentstack/cli-auth/1.5.1 linux-x64 node-v22.17.1
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -11,7 +11,6 @@ class WhoamiCommand extends base_command_1.BaseCommand {
|
|
|
11
11
|
cli_utilities_1.log.debug('User email found, displaying user information', Object.assign(Object.assign({}, this.contextDetails), { email: this.email }));
|
|
12
12
|
cli_utilities_1.cliux.print('CLI_AUTH_WHOAMI_LOGGED_IN_AS', { color: 'white' });
|
|
13
13
|
cli_utilities_1.cliux.print(this.email, { color: 'green' });
|
|
14
|
-
cli_utilities_1.log.info(cli_utilities_1.messageHandler.parse('CLI_AUTH_WHOAMI_LOGGED_IN_AS', this.email), this.contextDetails);
|
|
15
14
|
cli_utilities_1.log.debug('Whoami command completed successfully', this.contextDetails);
|
|
16
15
|
}
|
|
17
16
|
else {
|
package/messages/index.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"CLI_AUTH_LOGOUT_ALREADY": "You're already logged out",
|
|
21
21
|
"CLI_AUTH_LOGOUT_NO_AUTHORIZATIONS": "No authorizations found",
|
|
22
22
|
"CLI_AUTH_LOGOUT_NO_AUTHORIZATIONS_USER": "No authorizations found for current user",
|
|
23
|
-
"CLI_AUTH_WHOAMI_LOGGED_IN_AS": "You are currently logged in with email
|
|
23
|
+
"CLI_AUTH_WHOAMI_LOGGED_IN_AS": "You are currently logged in with email:",
|
|
24
24
|
"CLI_AUTH_WHOAMI_FAILED": "Failed to get the current user details",
|
|
25
25
|
"CLI_AUTH_WHOAMI_DESCRIPTION": "Display current users email address",
|
|
26
26
|
"CLI_AUTH_TOKENS_ADD_ASK_TOKEN_ALIAS": "Provide alias to store token",
|
package/oclif.manifest.json
CHANGED
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": "1.5.
|
|
4
|
+
"version": "1.5.1",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@contentstack/cli-command": "~1.6.0",
|
|
26
|
-
"@contentstack/cli-utilities": "~1.13.
|
|
26
|
+
"@contentstack/cli-utilities": "~1.13.1",
|
|
27
27
|
"@oclif/core": "^4.3.0",
|
|
28
28
|
"@oclif/plugin-help": "^6.2.28"
|
|
29
29
|
},
|