Skip to content

Commit f0fdcc4

Browse files
committed
merges in main
1 parent d049041 commit f0fdcc4

File tree

8 files changed

+257
-42
lines changed

8 files changed

+257
-42
lines changed

Cargo.lock

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ authors = [
1919
edition = "2021"
2020
homepage = "https://aws.amazon.com/q/"
2121
publish = false
22-
version = "1.7.1"
22+
version = "1.7.2"
2323
license = "MIT OR Apache-2.0"
2424

2525
[workspace.dependencies]

crates/q_cli/src/cli/chat/command.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl ProfileSubcommand {
4242
pub fn help_text() -> String {
4343
color_print::cformat!(
4444
r#"
45-
<magenta,em>Profile Management</magenta,em>
45+
<magenta,em>(Beta) Profile Management</magenta,em>
4646
4747
Profiles allow you to organize and manage different sets of context files for different projects or tasks.
4848
@@ -107,7 +107,7 @@ impl ContextSubcommand {
107107
pub fn help_text() -> String {
108108
color_print::cformat!(
109109
r#"
110-
<magenta,em>Context Management</magenta,em>
110+
<magenta,em>(Beta) Context Management</magenta,em>
111111
112112
Context files provide Amazon Q with additional information about your project or environment.
113113
Adding relevant files to your context helps Amazon Q provide more accurate and helpful responses.

crates/q_cli/src/cli/chat/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ const WELCOME_TEXT: &str = color_print::cstr! {"
9797
• Help me understand my git status
9898
9999
<em>/acceptall</em> <black!>Toggles acceptance prompting for the session.</black!>
100-
<em>/profile</em> <black!>Manage profiles for the chat session</black!>
101-
<em>/context</em> <black!>Manage context files for a profile</black!>
100+
<em>/profile</em> <black!>(Beta) Manage profiles for the chat session</black!>
101+
<em>/context</em> <black!>(Beta) Manage context files for a profile</black!>
102102
<em>/help</em> <black!>Show the help dialogue</black!>
103103
<em>/quit</em> <black!>Quit the application</black!>
104104

crates/q_cli/src/cli/user.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use std::fmt;
22
use std::fmt::Display;
3-
use std::process::ExitCode;
3+
use std::process::{
4+
ExitCode,
5+
exit,
6+
};
47
use std::time::Duration;
58

69
use anstream::println;
@@ -144,6 +147,8 @@ pub enum UserSubcommand {
144147

145148
impl UserSubcommand {
146149
pub async fn execute(self) -> Result<ExitCode> {
150+
ctrlc::set_handler(|| exit(1))?;
151+
147152
match self {
148153
Self::Root(cmd) => cmd.execute().await,
149154
}

0 commit comments

Comments
 (0)