@forge/cli-shared 8.8.2-next.5 → 8.9.0-next.7
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/CHANGELOG.md +12 -0
- package/out/graphql/graphql-types.d.ts +172 -0
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +9 -4
- package/out/ui/command-line-ui.d.ts +10 -1
- package/out/ui/command-line-ui.d.ts.map +1 -1
- package/out/ui/command-line-ui.js +59 -2
- package/out/ui/text.d.ts +5 -1
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +6 -2
- package/package.json +1 -1
|
@@ -27,10 +27,10 @@ exports.PolarisCommentKind = exports.PolarisColumnSize = exports.PlaybookTemplat
|
|
|
27
27
|
exports.RecentFilter = exports.RateLimitingCurrency = exports.RadarUserFieldPermission = exports.RadarStatusAppearance = exports.RadarSensitivityLevel = exports.RadarPositionsByEntityType = exports.RadarPositionRole = exports.RadarNumericAppearance = exports.RadarFunctionId = exports.RadarFilterOperators = exports.RadarFilterInputType = exports.RadarFieldType = exports.RadarEntityType = exports.RadarCustomFieldSyncStatus = exports.RadarConnectorType = exports.QueryType = exports.PushNotificationSettingGroup = exports.PushNotificationGroupInputType = exports.PublicLinksByCriteriaOrder = exports.PublicLinkStatus = exports.PublicLinkSpacesByCriteriaOrder = exports.PublicLinkSpaceStatus = exports.PublicLinkSiteStatus = exports.PublicLinkPermissionsType = exports.PublicLinkPermissionsObjectType = exports.PublicLinkPageStatus = exports.PublicLinkDefaultSpaceStatus = exports.PublicLinkContentType = exports.PublicLinkAdminAction = exports.Product = exports.PrincipalType = exports.PrincipalFilterType = exports.PolarisVisualizationType = exports.PolarisViewSortMode = exports.PolarisViewSetType = exports.PolarisViewLayoutType = exports.PolarisViewFilterOperator = exports.PolarisViewFilterKind = exports.PolarisViewFieldRollupType = exports.PolarisValueOperator = exports.PolarisTimelineTodayMarker = exports.PolarisTimelineMode = exports.PolarisSortOrder = exports.PolarisSnippetPropertyKind = exports.PolarisResolvedObjectAuthType = exports.PolarisRefreshError = exports.PolarisPlayKind = exports.PolarisFilterEnumType = exports.PolarisFieldType = exports.PolarisConnectionsLayout = void 0;
|
|
28
28
|
exports.ShardedGraphStoreCreateVulnerabilityAssociatedIssueVulnerabilityTypeInput = exports.ShardedGraphStoreCreateVulnerabilityAssociatedIssueVulnerabilityStatusInput = exports.ShardedGraphStoreCreateVulnerabilityAssociatedIssueVulnerabilitySeverityInput = exports.ShardedGraphStoreCreateJcsIssueAssociatedSupportEscalationEscalationStatusInput = exports.ShardedGraphStoreCreateJcsIssueAssociatedSupportEscalationEscalationLinkTypeInput = exports.ShardedGraphStoreCreateComponentImpactedByIncidentJiraIncidentStatusInput = exports.ShardedGraphStoreCreateComponentImpactedByIncidentJiraIncidentPriorityInput = exports.ShardedGraphStoreAtlasHomeSourcesEnum = exports.ShardedGraphStoreAtlasHomeRankingCriteriaEnum = exports.SearchesByTermPeriod = exports.SearchesByTermColumns = exports.SearchThirdPartyRangeField = exports.SearchSortOrder = exports.SearchResultType = exports.SearchProjectType = exports.SearchParticipantType = exports.SearchLinkedResultCategory = exports.SearchLinkedEntityGranularity = exports.SearchIssueStatusCategory = exports.SearchContainerStatus = exports.SearchConfluenceRangeField = exports.SearchConfluenceDocumentStatus = exports.SearchCombinationType = exports.SearchBoardProductType = exports.Scope = exports.SandboxEventType = exports.SandboxEventStatus = exports.SandboxEventSource = exports.SandboxEventResult = exports.RoleAssignmentPrincipalType = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapRankPosition = exports.RoadmapPaletteColor = exports.RoadmapLevelOneView = exports.RoadmapEpicView = exports.RoadmapChildIssuePlanningMode = exports.RevertToLegacyEditorResult = exports.ReverseTrialCohort = exports.ResponseType = exports.ResourceType = exports.ResourceAccessType = exports.RelevantUsersSortOrder = exports.RelevantUserFilter = exports.RelationType = exports.RelationTargetType = exports.RelationSourceType = exports.RecommendedPagesSpaceBehavior = exports.ReclassificationFilterScope = void 0;
|
|
29
29
|
exports.ShepherdRemediationActionType = exports.ShepherdRedactionStatus = exports.ShepherdRedactedContentStatus = exports.ShepherdRateThresholdValue = exports.ShepherdQueryErrorType = exports.ShepherdMutationErrorType = exports.ShepherdLoginDeviceType = exports.ShepherdDetectionScanningFrequency = exports.ShepherdCustomScanningMatchType = exports.ShepherdClassificationStatus = exports.ShepherdAtlassianProduct = exports.ShepherdAlertTemplateType = exports.ShepherdAlertStatus = exports.ShepherdAlertSnippetRedactionStatus = exports.ShepherdAlertSnippetRedactionFailureReason = exports.ShepherdAlertDetectionCategory = exports.ShepherdAlertAction = exports.ShepherdActorOrgStatus = exports.ShepherdActionType = exports.ShareType = exports.ShardedGraphStoreVersionAssociatedDesignDesignType = exports.ShardedGraphStoreVersionAssociatedDesignDesignStatus = exports.ShardedGraphStoreSprintContainsIssueStatusCategory = exports.ShardedGraphStoreSprintAssociatedVulnerabilityVulnerabilityStatus = exports.ShardedGraphStoreSprintAssociatedVulnerabilityVulnerabilitySeverity = exports.ShardedGraphStoreSprintAssociatedVulnerabilityStatusCategory = exports.ShardedGraphStoreSprintAssociatedPrReviewerReviewerStatus = exports.ShardedGraphStoreSprintAssociatedPrPullRequestStatus = exports.ShardedGraphStoreSprintAssociatedDeploymentEnvironmentType = exports.ShardedGraphStoreSprintAssociatedDeploymentDeploymentState = exports.ShardedGraphStoreServiceLinkedIncidentJiraServiceManagementIncidentStatus = exports.ShardedGraphStoreServiceLinkedIncidentJiraServiceManagementIncidentPriority = exports.ShardedGraphStoreProjectAssociatedVulnerabilityVulnerabilityType = exports.ShardedGraphStoreProjectAssociatedVulnerabilityVulnerabilityStatus = exports.ShardedGraphStoreProjectAssociatedVulnerabilityVulnerabilitySeverity = exports.ShardedGraphStoreProjectAssociatedPrReviewerReviewerStatus = exports.ShardedGraphStoreProjectAssociatedPrPullRequestStatus = exports.ShardedGraphStoreProjectAssociatedDeploymentEnvironmentType = exports.ShardedGraphStoreProjectAssociatedDeploymentDeploymentState = exports.ShardedGraphStoreProjectAssociatedBuildBuildState = exports.ShardedGraphStoreProjectAssociatedAutodevJobAutodevJobStatus = exports.ShardedGraphStoreJswProjectAssociatedIncidentJiraIncidentStatus = exports.ShardedGraphStoreJswProjectAssociatedIncidentJiraIncidentPriority = exports.ShardedGraphStoreJcsIssueAssociatedSupportEscalationEscalationStatus = exports.ShardedGraphStoreJcsIssueAssociatedSupportEscalationEscalationLinkType = exports.ShardedGraphStoreIssueHasAutodevJobAutodevJobStatus = exports.ShardedGraphStoreIssueAssociatedDeploymentEnvironmentType = exports.ShardedGraphStoreIssueAssociatedDeploymentDeploymentState = exports.ShardedGraphStoreCypherQueryV2VersionEnum = exports.ShardedGraphStoreCypherQueryV2BatchVersionEnum = void 0;
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.SourceBillingType = exports.WorkSuggestionsVulnerabilityStatus = exports.WorkSuggestionsVersionCandidateIncludeReason = void 0;
|
|
30
|
+
exports.StringUserInputType = exports.StalePagesSortingType = exports.StalePageStatus = exports.StakeholderCommsUptimeStyle = exports.StakeholderCommsStakeholderType = exports.StakeholderCommsStakeholderStatus = exports.StakeholderCommsStakeholderGroupStatus = exports.StakeholderCommsSearchFilterType = exports.StakeholderCommsSearchField = exports.StakeholderCommsPageType = exports.StakeholderCommsPageThemeMode = exports.StakeholderCommsPageTheme = exports.StakeholderCommsOrderType = exports.StakeholderCommsIncidentStatus = exports.StakeholderCommsIncidentImpact = exports.StakeholderCommsExternalIncidentSource = exports.StakeholderCommsErrorType = exports.StakeholderCommsComponentType = exports.StakeholderCommsComponentStyle = exports.StakeholderCommsComponentStatus = exports.StakeholderCommsAssignmentType = exports.StakeholderCommsAddedFromType = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SpfMediaTokenUsageType = exports.SpfAskTargetDateType = exports.SpfAskStatus = exports.SpfAskPriority = exports.SpfAskActivityType = exports.SpfAskActivityAttribute = exports.SpaceViewsPersistenceOption = exports.SpaceSidebarLinkType = exports.SpaceRoleType = exports.SpacePermissionType = exports.SpaceManagerOwnerType = exports.SpaceManagerOrderDirection = exports.SpaceManagerOrderColumn = exports.SpaceManagerFilterType = exports.SpaceAssignmentType = exports.SortOrder = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.SitePermissionTypeFilter = exports.SitePermissionType = exports.SitePermissionOperationType = exports.ShepherdWebhookSubscriptionCategory = exports.ShepherdWebhookDestinationType = exports.ShepherdVortexModeStatus = exports.ShepherdSubscriptionStatus = exports.ShepherdSearchOrigin = void 0;
|
|
31
|
+
exports.TownsquareProjectPhase = exports.TownsquareProjectFusionField = exports.TownsquareProjectDependencyRelationship = exports.TownsquareMetricValueSortEnum = exports.TownsquareMetricType = exports.TownsquareLinkType = exports.TownsquareHighlightType = exports.TownsquareHighlightSortEnum = exports.TownsquareGoalTypeState = exports.TownsquareGoalTypeKind = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.TownsquareGoalScoringMode = exports.TownsquareGoalProgressType = exports.TownsquareGoalIconKey = exports.TownsquareGoalIconAppearance = exports.TownsquareCapabilityContainer = exports.TownsquareCanCreateFusionResult = exports.TownsquareAccessControlCapability = exports.ToolchainWorkspaceConnectionErrorCode = exports.ToolchainProviderType = exports.ToolchainDisassociateEntitiesErrorCode = exports.ToolchainCreateContainerErrorCode = exports.ToolchainContainerConnectionErrorCode = exports.ToolchainCheckAuthErrorCode = exports.ToolchainAssociateEntitiesErrorCode = exports.TeamTypeDefaultFor = exports.TeamStateV2 = exports.TeamState = exports.TeamSortOrder = exports.TeamSortField = exports.TeamSearchField = exports.TeamRole = exports.TeamPermission = exports.TeamMembershipState = exports.TeamMembershipSettings = exports.TeamMembershipRole = exports.TeamHierarchyErrorCode = exports.TeamCalendarDayOfWeek = exports.TaskStatus = exports.TargetTransition = exports.SystemSpaceHomepageTemplate = exports.SwimlaneStrategy = exports.SupportRequestUserType = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SupportRequestNamedContactOperation = exports.SupportRequestFieldDataType = exports.SummaryType = void 0;
|
|
32
|
+
exports.WorkSuggestionsTargetAudience = exports.WorkSuggestionsEnvironmentType = exports.WorkSuggestionsAutoDevJobState = exports.WorkSuggestionsApprovalStatus = exports.WorkSuggestionsAction = exports.VirtualAgentIntentTemplateType = exports.VirtualAgentIntentStatus = exports.VirtualAgentConversationState = exports.VirtualAgentConversationCsatOptionType = exports.VirtualAgentConversationChannel = exports.VirtualAgentConversationActionType = exports.VendorType = exports.UserInstallationRuleValue = exports.UnifiedSortDirection = exports.UnifiedLearningCertificationType = exports.UnifiedLearningCertificationStatus = exports.UnifiedLearningCertificationSortField = exports.UnifiedAiPostType = exports.UnifiedAiPostSortField = exports.UnifiedAiLikeTargetType = exports.TrelloWorkspaceTier = exports.TrelloWorkspaceMembershipType = exports.TrelloSupportedPlannerProviders = exports.TrelloPowerUpDataScope = exports.TrelloPowerUpDataAccess = exports.TrelloPlannerCalendarEventVisibility = exports.TrelloPlannerCalendarEventType = exports.TrelloPlannerCalendarEventStatus = exports.TrelloPlannerCalendarColor = exports.TrelloListType = exports.TrelloListCardSortBy = exports.TrelloDataSourceHandler = exports.TrelloCheckItemState = exports.TrelloCardRole = exports.TrelloCardExternalSource = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TrelloCardBatchStatus = exports.TrelloCardActionType = exports.TrelloBoardPrefsPermissionLevel = exports.TrelloBoardMembershipType = exports.TownsquareUpdateType = exports.TownsquareUnshardedCapabilityContainer = exports.TownsquareUnshardedAccessControlCapability = exports.TownsquareTargetDateType = exports.TownsquareTagSortEnum = exports.TownsquareRiskSortEnum = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = void 0;
|
|
33
|
+
exports.SourceBillingType = exports.WorkSuggestionsVulnerabilityStatus = exports.WorkSuggestionsVersionCandidateIncludeReason = exports.WorkSuggestionsUserPersona = void 0;
|
|
34
34
|
var AvpCanvasRowHeight;
|
|
35
35
|
(function (AvpCanvasRowHeight) {
|
|
36
36
|
AvpCanvasRowHeight["Large"] = "large";
|
|
@@ -10790,6 +10790,11 @@ var SpfAskTargetDateType;
|
|
|
10790
10790
|
SpfAskTargetDateType["Month"] = "MONTH";
|
|
10791
10791
|
SpfAskTargetDateType["Quarter"] = "QUARTER";
|
|
10792
10792
|
})(SpfAskTargetDateType = exports.SpfAskTargetDateType || (exports.SpfAskTargetDateType = {}));
|
|
10793
|
+
var SpfMediaTokenUsageType;
|
|
10794
|
+
(function (SpfMediaTokenUsageType) {
|
|
10795
|
+
SpfMediaTokenUsageType["Read"] = "READ";
|
|
10796
|
+
SpfMediaTokenUsageType["Write"] = "WRITE";
|
|
10797
|
+
})(SpfMediaTokenUsageType = exports.SpfMediaTokenUsageType || (exports.SpfMediaTokenUsageType = {}));
|
|
10793
10798
|
var SprintReportsEstimationStatisticType;
|
|
10794
10799
|
(function (SprintReportsEstimationStatisticType) {
|
|
10795
10800
|
SprintReportsEstimationStatisticType["IssueCount"] = "ISSUE_COUNT";
|
|
@@ -4,6 +4,7 @@ export interface ProgressResult {
|
|
|
4
4
|
successful: boolean;
|
|
5
5
|
message: string;
|
|
6
6
|
}
|
|
7
|
+
declare type TableData<Key extends string> = Record<Key, TableCell>[] | undefined | null;
|
|
7
8
|
export declare class CommandLineUI implements UI {
|
|
8
9
|
private readonly verbose;
|
|
9
10
|
private readonly logger;
|
|
@@ -11,6 +12,9 @@ export declare class CommandLineUI implements UI {
|
|
|
11
12
|
private readonly promptInternal;
|
|
12
13
|
private insideProgress;
|
|
13
14
|
private addedProgressPadding;
|
|
15
|
+
private static ANSI_MOVE_CURSOR_UP_ONE;
|
|
16
|
+
private static ANSI_CLEAR_CURSOR_LINE;
|
|
17
|
+
private static NON_TTY_ENV_DEFAULT_COLUMNS;
|
|
14
18
|
constructor(verbose: () => boolean, spinner?: Ora, logger?: Console);
|
|
15
19
|
private getSeasonalSpinner;
|
|
16
20
|
private prompt;
|
|
@@ -34,9 +38,13 @@ export declare class CommandLineUI implements UI {
|
|
|
34
38
|
}, pageSize?: number): Promise<T>;
|
|
35
39
|
promptForTable(message: string, infoMessage: string, columns: string[], choices: object[], isBorderless?: boolean): Promise<number[]>;
|
|
36
40
|
promptForSingleChoiceTable(message: string, infoMessage: string, columns: string[], choices: object[]): Promise<number>;
|
|
37
|
-
|
|
41
|
+
private getScaledTableHeight;
|
|
42
|
+
private clearLastNLines;
|
|
43
|
+
dynamicTable<Key extends string>(head: [Key, string][], getData: () => Promise<TableData<Key>>, tableRefreshIntervalMs: number, { emptyMessage, preMessage, postMessage, format, groupRows }?: Omit<TableOptions<Key>, 'json'>): Promise<void>;
|
|
44
|
+
table<Key extends string>(head: [Key, string][], data: TableData<Key>, { json, emptyMessage, preMessage, postMessage, format, groupRows }?: TableOptions<Key>): void;
|
|
38
45
|
private formatTableValue;
|
|
39
46
|
private shouldLogTableCell;
|
|
47
|
+
private getTable;
|
|
40
48
|
private logTable;
|
|
41
49
|
private log;
|
|
42
50
|
private logSuccess;
|
|
@@ -53,4 +61,5 @@ export declare class CommandLineUI implements UI {
|
|
|
53
61
|
}[], indent?: string, addNewLine?: boolean): string;
|
|
54
62
|
formatYamlProperties(properties: any, key: string, showMessage?: boolean): string;
|
|
55
63
|
}
|
|
64
|
+
export {};
|
|
56
65
|
//# sourceMappingURL=command-line-ui.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-line-ui.d.ts","sourceRoot":"","sources":["../../src/ui/command-line-ui.ts"],"names":[],"mappings":"AAEA,OAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAQ/B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAiBnD,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;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ProgressLogType["successText"] = 1] = "successText";
|
|
22
22
|
ProgressLogType[ProgressLogType["other"] = 2] = "other";
|
|
23
23
|
})(ProgressLogType || (ProgressLogType = {}));
|
|
24
|
+
function wait(timeMs) {
|
|
25
|
+
return new Promise((resolve) => setTimeout(resolve, timeMs));
|
|
26
|
+
}
|
|
24
27
|
class CommandLineUI {
|
|
25
28
|
verbose;
|
|
26
29
|
logger;
|
|
@@ -28,6 +31,9 @@ class CommandLineUI {
|
|
|
28
31
|
promptInternal;
|
|
29
32
|
insideProgress = false;
|
|
30
33
|
addedProgressPadding = false;
|
|
34
|
+
static ANSI_MOVE_CURSOR_UP_ONE = '\x1B[1A';
|
|
35
|
+
static ANSI_CLEAR_CURSOR_LINE = '\x1B[2K';
|
|
36
|
+
static NON_TTY_ENV_DEFAULT_COLUMNS = 100;
|
|
31
37
|
constructor(verbose, spinner, logger) {
|
|
32
38
|
this.verbose = verbose;
|
|
33
39
|
this.spinner = spinner || (0, ora_1.default)({ discardStdin: false });
|
|
@@ -223,6 +229,54 @@ class CommandLineUI {
|
|
|
223
229
|
]);
|
|
224
230
|
return choice;
|
|
225
231
|
}
|
|
232
|
+
getScaledTableHeight(tableString) {
|
|
233
|
+
const lines = tableString.split('\n');
|
|
234
|
+
const terminalWidth = process.stdout.columns || CommandLineUI.NON_TTY_ENV_DEFAULT_COLUMNS;
|
|
235
|
+
let totalHeight = 0;
|
|
236
|
+
for (const line of lines) {
|
|
237
|
+
totalHeight += Math.ceil(line.length / terminalWidth);
|
|
238
|
+
}
|
|
239
|
+
return totalHeight;
|
|
240
|
+
}
|
|
241
|
+
clearLastNLines(linesToClear) {
|
|
242
|
+
for (let i = 0; i < linesToClear; i++) {
|
|
243
|
+
process.stdout.write(CommandLineUI.ANSI_MOVE_CURSOR_UP_ONE);
|
|
244
|
+
process.stdout.write(CommandLineUI.ANSI_CLEAR_CURSOR_LINE);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
async dynamicTable(head, getData, tableRefreshIntervalMs, { emptyMessage, preMessage, postMessage, format, groupRows } = {}) {
|
|
248
|
+
if (preMessage) {
|
|
249
|
+
this.info(preMessage);
|
|
250
|
+
}
|
|
251
|
+
let interrupted = false;
|
|
252
|
+
const interrupt = () => {
|
|
253
|
+
interrupted = true;
|
|
254
|
+
this.emptyLine();
|
|
255
|
+
this.info(text_1.Text.dynamicTable.exiting);
|
|
256
|
+
process.off('SIGINT', interrupt);
|
|
257
|
+
};
|
|
258
|
+
process.on('SIGINT', interrupt);
|
|
259
|
+
this.info(text_1.Text.ctrlC);
|
|
260
|
+
this.emptyLine();
|
|
261
|
+
let data = await getData();
|
|
262
|
+
while (!interrupted) {
|
|
263
|
+
if (!data?.length) {
|
|
264
|
+
if (emptyMessage) {
|
|
265
|
+
this.info(emptyMessage);
|
|
266
|
+
}
|
|
267
|
+
break;
|
|
268
|
+
}
|
|
269
|
+
const table = this.getTable(head, data, { format, groupRows });
|
|
270
|
+
const tableHeight = this.getScaledTableHeight(table);
|
|
271
|
+
this.info(table);
|
|
272
|
+
await wait(tableRefreshIntervalMs);
|
|
273
|
+
!interrupted && this.clearLastNLines(tableHeight);
|
|
274
|
+
data = await getData();
|
|
275
|
+
}
|
|
276
|
+
if (postMessage) {
|
|
277
|
+
this.info(postMessage);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
226
280
|
table(head, data, { json, emptyMessage, preMessage, postMessage, format, groupRows } = {}) {
|
|
227
281
|
if (json) {
|
|
228
282
|
this.log(JSON.stringify(data, null, 2));
|
|
@@ -255,7 +309,7 @@ class CommandLineUI {
|
|
|
255
309
|
const prevFormattedValue = this.formatTableValue(key, prevValue, format);
|
|
256
310
|
return formattedValue !== prevFormattedValue;
|
|
257
311
|
}
|
|
258
|
-
|
|
312
|
+
getTable(head, data, { format, groupRows }) {
|
|
259
313
|
const table = new cli_table3_1.default({
|
|
260
314
|
...log_color_1.TableStyle.default,
|
|
261
315
|
head: head.map(([, heading]) => heading)
|
|
@@ -283,7 +337,10 @@ class CommandLineUI {
|
|
|
283
337
|
table.unshift(tableRow);
|
|
284
338
|
}
|
|
285
339
|
}
|
|
286
|
-
|
|
340
|
+
return table.toString();
|
|
341
|
+
}
|
|
342
|
+
logTable(head, data, { format, groupRows }) {
|
|
343
|
+
this.info(this.getTable(head, data, { format, groupRows }));
|
|
287
344
|
}
|
|
288
345
|
log(message, progressLogType = ProgressLogType.other) {
|
|
289
346
|
let msg = message;
|
package/out/ui/text.d.ts
CHANGED
|
@@ -809,7 +809,7 @@ export declare const Text: {
|
|
|
809
809
|
functionHandlers: string;
|
|
810
810
|
preamble: string;
|
|
811
811
|
startingTunnel: (environmentKey: string, envType: AppEnvironmentType) => string;
|
|
812
|
-
startedServer: (port: number
|
|
812
|
+
startedServer: (port: number) => string;
|
|
813
813
|
selfManagedTunnel: (tunnelUrl: string, port: number) => string;
|
|
814
814
|
startedTunnel: (tunnelUrl: string) => string;
|
|
815
815
|
stoppingTunnel: string;
|
|
@@ -1017,6 +1017,7 @@ export declare const Text: {
|
|
|
1017
1017
|
cmd: {
|
|
1018
1018
|
desc: string;
|
|
1019
1019
|
serviceKeyOption: string;
|
|
1020
|
+
watchOption: string;
|
|
1020
1021
|
};
|
|
1021
1022
|
overview: string;
|
|
1022
1023
|
specificService: (serviceKey: string, environment: string) => string;
|
|
@@ -1114,5 +1115,8 @@ export declare const Text: {
|
|
|
1114
1115
|
};
|
|
1115
1116
|
};
|
|
1116
1117
|
};
|
|
1118
|
+
dynamicTable: {
|
|
1119
|
+
exiting: string;
|
|
1120
|
+
};
|
|
1117
1121
|
};
|
|
1118
1122
|
//# sourceMappingURL=text.d.ts.map
|
package/out/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OA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,MAAM;;;;;;;;;;;CAalD,CAAC"}
|
package/out/ui/text.js
CHANGED
|
@@ -1027,7 +1027,7 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1027
1027
|
functionHandlers: 'list of function handlers declared on manifest to debug, separated by space. This option must be specified if debug mode is enabled. It is only used for Node runtime debugger',
|
|
1028
1028
|
preamble: 'Tunnel redirects requests you make to your local machine. This occurs for any Atlassian site where your app is installed in the specific development environment. You will not see requests from other users.',
|
|
1029
1029
|
startingTunnel: (environmentKey, envType) => `Tunnelling to: ${exports.Text.env.displayEnvironment(environmentKey, envType)}`,
|
|
1030
|
-
startedServer: (port
|
|
1030
|
+
startedServer: (port) => `Listening for requests on local port ${port}...`,
|
|
1031
1031
|
selfManagedTunnel: (tunnelUrl, port) => `Warning: You are currently using a self-managed tunnel. Please bind your tunnel (${tunnelUrl}) to the local host on port ${port}.`,
|
|
1032
1032
|
startedTunnel: (tunnelUrl) => `Started tunnel at address: ${tunnelUrl}.`,
|
|
1033
1033
|
stoppingTunnel: 'Stopping tunnel...',
|
|
@@ -1252,7 +1252,8 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1252
1252
|
services: {
|
|
1253
1253
|
cmd: {
|
|
1254
1254
|
desc: 'display information about deployed app services',
|
|
1255
|
-
serviceKeyOption: 'specify the name of the service'
|
|
1255
|
+
serviceKeyOption: 'specify the name of the service',
|
|
1256
|
+
watchOption: 'watch for changes to selected services'
|
|
1256
1257
|
},
|
|
1257
1258
|
overview: 'Showing service information.',
|
|
1258
1259
|
specificService: (serviceKey, environment) => `Showing service: ${chalk_1.default.bold(serviceKey)} deployed in the '${environment}' environment.`,
|
|
@@ -1350,5 +1351,8 @@ When errors occur during Forge command execution, error details will be sent to
|
|
|
1350
1351
|
notAvailable: 'Deployment failed due to missing scopes. Please contact your admin to register the required scopes and try again.'
|
|
1351
1352
|
}
|
|
1352
1353
|
}
|
|
1354
|
+
},
|
|
1355
|
+
dynamicTable: {
|
|
1356
|
+
exiting: 'Exiting...'
|
|
1353
1357
|
}
|
|
1354
1358
|
};
|