@contentstack/cli-command 1.6.2 → 1.7.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/lib/index.d.ts +1 -0
- package/lib/index.js +4 -1
- package/lib/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -16,7 +16,7 @@ class ContentstackCommand extends cli_utilities_1.Command {
|
|
|
16
16
|
this._email = cli_utilities_1.configHandler.get('email');
|
|
17
17
|
if (this._email)
|
|
18
18
|
return this._email;
|
|
19
|
-
throw new cli_utilities_1.CLIError('You are not logged in.
|
|
19
|
+
throw new cli_utilities_1.CLIError('You are not logged in. Run the command: $ csdx auth:login');
|
|
20
20
|
}
|
|
21
21
|
get deliveryAPIClient() {
|
|
22
22
|
if (this._deliveryAPIClient)
|
|
@@ -89,6 +89,9 @@ class ContentstackCommand extends cli_utilities_1.Command {
|
|
|
89
89
|
get personalizeUrl() {
|
|
90
90
|
return this.region.personalizeUrl;
|
|
91
91
|
}
|
|
92
|
+
get composableStudioUrl() {
|
|
93
|
+
return this.region.composableStudioUrl;
|
|
94
|
+
}
|
|
92
95
|
}
|
|
93
96
|
exports.Command = ContentstackCommand;
|
|
94
97
|
module.exports = {
|