-
Notifications
You must be signed in to change notification settings - Fork 719
Add CTRL-C guidance message to aspire run command output #10203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
ecd83ae
9681785
81bd67d
d8ee041
e399c96
0e9ca8b
c6f09c2
ff4994c
338a1ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -185,6 +185,8 @@ protected override async Task<int> ExecuteAsync(ParseResult parseResult, Cancell | |||||||||||||||||
| } | ||||||||||||||||||
| topGrid.AddRow(Text.Empty, Text.Empty); | ||||||||||||||||||
| topGrid.AddRow(new Align(new Markup($"[bold green]{logsLocalizedString}[/]:"), HorizontalAlignment.Right), new Text(logFile.FullName)); | ||||||||||||||||||
| topGrid.AddRow(new Text(string.Empty), new Text(string.Empty)); | ||||||||||||||||||
| topGrid.AddRow(new Text(string.Empty), new Markup(RunCommandStrings.PressCtrlCToStopAppHost)); | ||||||||||||||||||
|
||||||||||||||||||
| topGrid.AddRow(new Align(new Markup($"[bold green]{logsLocalizedString}[/]:"), HorizontalAlignment.Right), new Text(logFile.FullName)); | |
| topGrid.AddRow(new Text(string.Empty), new Text(string.Empty)); | |
| topGrid.AddRow(new Text(string.Empty), new Markup(RunCommandStrings.PressCtrlCToStopAppHost)); | |
| topGrid.AddRow(new Text(string.Empty), new Markup(RunCommandStrings.PressCtrlCToStopAppHost)); | |
| topGrid.AddRow(new Align(new Markup($"[bold green]{logsLocalizedString}[/]:"), HorizontalAlignment.Right), new Text(logFile.FullName)); | |
| topGrid.AddRow(new Text(string.Empty), new Text(string.Empty)); |
Outdated
Copilot
AI
Jul 6, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Wrap the guidance message’s Markup in an Align with HorizontalAlignment.Right (like the logs row) to keep column alignment consistent.
| topGrid.AddRow(new Text(string.Empty), new Markup(RunCommandStrings.PressCtrlCToStopAppHost)); | |
| topGrid.AddRow(new Align(new Text(string.Empty), HorizontalAlignment.Right), new Markup(RunCommandStrings.PressCtrlCToStopAppHost)); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Use the existing Text.Empty constant instead of new Text(string.Empty) for an empty cell to reduce allocations and improve readability.