forked from aws/agentcore-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconstants.ts
More file actions
51 lines (50 loc) · 2.11 KB
/
Copy pathconstants.ts
File metadata and controls
51 lines (50 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* Common help text strings used across TUI screens.
* Centralized here to ensure consistency and avoid repetition.
* Style: abbreviated, use " · " separator, symbols like ↑↓ for arrows
*
* Key conventions:
* - Esc: go back to previous screen / main menu
* - Ctrl+C: exit the application entirely
*/
export const HELP_TEXT = {
/** Standard exit hint (at top level where Esc exits the app) */
EXIT: 'Esc back · Ctrl+C quit',
/** Back to previous screen */
BACK: 'Esc back · Ctrl+C quit',
/** Navigation and selection */
NAVIGATE_SELECT: '↑↓ navigate · Enter select · Esc back · Ctrl+C quit',
/** Navigation with hotkeys */
NAVIGATE_HOTKEYS: '↑↓ navigate · Enter select · hotkeys · Esc back · Ctrl+C quit',
/** Retry after error */
RETRY_EXIT: 'R retry · Esc back · Ctrl+C quit',
/** Replan after complete or error */
REPLAN_EXIT: 'P replan · Esc back · Ctrl+C quit',
/** Deploy after successful plan */
PLAN_DEPLOY: 'D deploy · Esc back · Ctrl+C quit',
/** Confirm or cancel */
CONFIRM_CANCEL: 'Enter confirm · Esc back · Ctrl+C quit',
/** Y/N prompt */
YES_NO: 'Enter/Y confirm · Esc/N cancel',
/** Text input */
TEXT_INPUT: 'Enter submit · Esc cancel',
/** Multi-select list */
MULTI_SELECT: '↑↓ navigate · Space toggle · Enter confirm · Esc back · Ctrl+C quit',
/** Edit mode */
EDIT_MODE: 'Esc back · Ctrl+C quit',
/** Status screen refresh */
STATUS_REFRESH: '↑↓ select · Enter refresh · Esc back · Ctrl+C quit',
/** Status screen refresh with target cycling */
STATUS_TARGET_CYCLE: '↑↓ select · Enter refresh · T target · Esc back · Ctrl+C quit',
} as const;
/**
* CDK Bootstrap messaging used in init and deploy flows.
*/
export const BOOTSTRAP = {
/** Title for bootstrap confirmation */
TITLE: 'CDK bootstrapping required',
/** Explanation of what bootstrapping does */
EXPLAINER: `The AgentCore CLI uses AWS CDK and CloudFormation to manage AWS resources.
CDK bootstrapping is a one-time setup that creates resources CDK needs to deploy stacks.
This will create a CDKToolkit stack in your AWS account.`,
} as const;