Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/contentstack-command/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@ abstract class ContentstackCommand extends Command {
}
throw new CLIError('No token found');
}

get developerHubUrl() {
return this.region.developerHubUrl;
}

get launchHubUrl() {
return this.region.launchHubUrl;
}

get personalizeUrl() {
return this.region.personalizeUrl;
}
}

module.exports = {
Expand Down
3 changes: 3 additions & 0 deletions packages/contentstack-command/src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ export interface Region {
cma: string;
cda: string;
uiHost: string;
developerHubUrl: string;
launchHubUrl: string;
personalizeUrl: string;
}