@forge/cli-shared
9.2.0-next.59.2.0-next.5-experimental-a1600ff
out/ui/text.js~
out/ui/text.jsModified+9−5
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -2,18 +2,18 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Text = exports.capitalise = void 0;
exports.itemList = itemList;
const tslib_1 = require("tslib");
+const manifest_1 = require("@forge/manifest");
+const case_1 = require("case");
const chalk_1 = tslib_1.__importDefault(require("chalk"));
const terminal_link_1 = tslib_1.__importDefault(require("terminal-link"));
-const case_1 = require("case");
-const log_symbols_1 = tslib_1.__importDefault(require("./log-symbols"));
-const log_color_1 = require("./log-color");
const graphql_types_1 = require("../graphql/graphql-types");
const cli_details_1 = require("../shared/cli-details");
const environment_1 = require("../shared/environment");
-const manifest_1 = require("@forge/manifest");
const installations_1 = require("../shared/installations");
+const log_color_1 = require("./log-color");
+const log_symbols_1 = tslib_1.__importDefault(require("./log-symbols"));
const ctrlC = 'Press Ctrl+C to cancel.';
const encryptedValue = '****';
const greenTick = `${chalk_1.default.bold(chalk_1.default.green('✔'))}`;
const buildTerminalLink = (text) => (0, terminal_link_1.default)(chalk_1.default.bold(text), text, { fallback: () => chalk_1.default.underline.bold(text) });
@@ -252,8 +252,9 @@
create: {
cmd: {
desc: 'create an app',
start: 'Creating app...',
+ startPersonal: 'Creating personal app...',
success: (appName) => `Created ${appName}`,
successDetails: (directory, validEnvironmentOptions) => `\nYour app is ready to work on, deploy, and install. We created ${validEnvironmentOptions.length} environments you can deploy to: ${validEnvironmentOptions
.map(environment_1.environmentToOption)
.join(', ')}.\n\nChange to directory ${chalk_1.default.bold(directory)} to see your app files.`
@@ -263,8 +264,9 @@
optionTemplate: 'specify the template to use',
optionDirectory: 'specify the directory to create (uses the template name by default)',
optionSpace: 'specify the Developer Space id to use',
optionAcceptTerms: 'automatically accept terms and conditions in non-interactive mode',
+ optionPersonal: 'register as a personal app',
overviewAppName: `\nName your app. The app name can include dashes, spaces, and underscores.\n`,
overviewTemplates: '\nStart with a template. Each template contains the required files to be a valid app.\n',
waitTemplates: 'Getting template list...',
promptName: 'Enter a name for your app:',
@@ -366,8 +368,9 @@
register: {
intro: 'Registering the app to you.',
cmd: {
desc: "register an app you didn't create so you can run commands for it",
+ startPersonal: `Registering personal app..`,
start: `Registering app...`,
success: (appName) => `Registered ${appName}`,
successDetails: (validEnvironmentOptions) => `\nYour app is ready to work on, deploy, and install. We created ${validEnvironmentOptions.length} environments you can deploy to: ${validEnvironmentOptions
.map(environment_1.environmentToOption)
@@ -1015,9 +1018,10 @@
'in the developer console and share it with the site admin: ' +
`https://developer.atlassian.com/console/myapps/${appId}/distribution`,
appendRequestIdToErrorMessage: (message, requestId) => `${message} For more help on this issue, please reach out to support (${buildTerminalLink('https://developer.atlassian.com/support')}) and provide them the following request ID: ${requestId}`,
majorVersionNotFound: 'The major version you specified does not exist. Check the version number and try again.',
- installationLimitReached: 'Installation error: The target site already has the maximum number of apps installed. To install this app there, uninstall any unused apps first.'
+ installationLimitReached: 'Installation error: The target site already has the maximum number of apps installed. To install this app there, uninstall any unused apps first.',
+ tooManyRequests: 'Too many requests'
},
debug: {
ccpEntitlementQueryFailed: `Non-essential request failed. Continuing installation.`
},