You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/chat-cli/src/cli/chat/cli/context.rs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,9 @@ use crate::cli::chat::{
19
19
ChatSession,
20
20
ChatState,
21
21
};
22
+
usecrate::constants::context_text;
22
23
usecrate::constants::help_text::{
23
-
CONTEXT_DESCRIPTION,
24
+
context_description,
24
25
context_long_help,
25
26
};
26
27
usecrate::os::Os;
@@ -29,7 +30,7 @@ use crate::theme::StyledText;
29
30
#[deny(missing_docs)]
30
31
#[derive(Debug,PartialEq,Subcommand)]
31
32
#[command(
32
-
about = CONTEXT_DESCRIPTION,
33
+
about = context_description(),
33
34
before_long_help = context_long_help()
34
35
)]
35
36
/// Context subcommands
@@ -238,7 +239,8 @@ impl ContextSubcommand {
238
239
session.stderr,
239
240
StyledText::warning_fg(),
240
241
style::Print(format!(
241
-
"Total token count exceeds limit: {context_files_max_size}. The following files will be automatically dropped when interacting with Kiro. Consider removing them. \n\n"
Copy file name to clipboardExpand all lines: crates/chat-cli/src/cli/chat/cli/subscribe.rs
+8-12Lines changed: 8 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,12 @@ use crate::cli::chat::{
16
16
get_subscription_status_with_spinner,
17
17
with_spinner,
18
18
};
19
+
usecrate::constants::subscription_text;
19
20
usecrate::os::Os;
20
21
usecrate::theme::StyledText;
21
22
usecrate::util::system_info::is_remote;
22
23
23
-
constSUBSCRIBE_TITLE_TEXT:&str = color_print::cstr! {"<white!,bold>Subscribe to Kiro Developer Pro</white!,bold>"};
24
-
25
-
constSUBSCRIBE_TEXT:&str = color_print::cstr! {"During the upgrade, you'll be asked to link your Builder ID to the AWS account that will be billed the monthly subscription fee.
26
-
27
-
Need help? Visit our subscription support page> <blue!>https://docs.aws.amazon.com/console/amazonq/upgrade-builder-id</blue!>"};
28
-
29
-
/// Arguments for the subscribe command to manage Kiro Developer Pro subscriptions
24
+
/// Arguments for the subscribe command to manage Developer Pro subscriptions
30
25
#[deny(missing_docs)]
31
26
#[derive(Debug,PartialEq,Args)]
32
27
pubstructSubscribeArgs{
@@ -41,7 +36,7 @@ impl SubscribeArgs {
41
36
execute!(
42
37
session.stderr,
43
38
StyledText::warning_fg(),
44
-
style::Print("\nYour Kiro Developer Pro subscription is managed through IAM Identity Center.\n\n"),
0 commit comments