feat(info): add service names output#522
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
🚀 Website Preview Your PR preview is ready! 📎 Preview URL: https://jongio.github.io/azd-app/pr/522/ This preview will be automatically cleaned up when the PR is closed. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #522 +/- ##
=======================================
Coverage 60.77% 60.77%
=======================================
Files 223 223
Lines 28527 28539 +12
=======================================
+ Hits 17337 17345 +8
- Misses 10010 10012 +2
- Partials 1180 1182 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
🚀 Test This PRA preview build ( 🌐 Website PreviewLive Preview: https://jongio.github.io/azd-app/pr/522/ One-Line Install (Recommended)PowerShell (Windows): iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/install-pr.ps1) } -PrNumber 522 -Version 0.19.5-pr522"Bash (macOS/Linux): curl -fsSL https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/install-pr.sh | bash -s 522 0.19.5-pr522UninstallWhen you're done testing: PowerShell (Windows): iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/uninstall-pr.ps1) } -PrNumber 522"Bash (macOS/Linux): curl -fsSL https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/uninstall-pr.sh | bash -s 522Build Info:
What to Test: |
Closes #519.
Adds
azd app info --namesfor scripts that need service names before calling logs, health, start, stop, or restart. The command prints one service per line after service filters run and rejects--names --watch.Validation:
go test .\src\cmd\app\commands -run "TestPrintInfoNames|TestInfoNamesRejectsWatch|TestRunInfoWithServices|TestRunInfoNoServices"go test .\src\cmd\app\commandsmage buildmage lint