mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[PR #340] [MERGED] UX improvment #450
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#450
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/340
Author: @tantshirt
Created: 1/30/2026
Status: ✅ Merged
Merged: 1/30/2026
Merged by: @rudrankriyam
Base:
main← Head:main📝 Commits (10+)
a20046dchore: ignore BMAD workflow system folders847027ffeat: add global progress plumbinga5ba5c4feat: add progress gating plumbinga54940afeat: suggest similar commands on typos8795b54feat: add completion command7aad144feat: add actionable error hints8e0e025feat: add --retry-log override for retry logginga4739bcMerge pull request #2 from tantshirt/feat/add-progress-plumbingf86133eMerge pull request #3 from tantshirt/feat/did-you-mean-suggestionsc96724bMerge pull request #4 from tantshirt/feat/completion-command📊 Changes
19 files changed (+786 additions, -49 deletions)
View changed files
📝
.gitignore(+4 -0)📝
cmd/root.go(+15 -1)➕
cmd/run.go(+41 -0)📝
internal/asc/client_core.go(+34 -12)➕
internal/asc/retry_log_test.go(+37 -0)📝
internal/cli/cmdtest/commands_test.go(+67 -0)➕
internal/cli/cmdtest/error_hints_test.go(+37 -0)📝
internal/cli/cmdtest/product_pages_test.go(+2 -0)📝
internal/cli/cmdtest/webhooks_test.go(+1 -0)➕
internal/cli/completion/completion.go(+119 -0)📝
internal/cli/registry/registry.go(+5 -1)➕
internal/cli/shared/errfmt/errfmt.go(+66 -0)➕
internal/cli/shared/errfmt/errfmt_test.go(+50 -0)➕
internal/cli/shared/sanitize.go(+19 -0)➕
internal/cli/shared/sanitize_test.go(+12 -0)📝
internal/cli/shared/shared.go(+42 -3)📝
internal/cli/shared/shared_test.go(+97 -0)➕
internal/cli/shared/suggest/suggest.go(+137 -0)📝
main.go(+1 -32)📄 Description
This pull request introduces several improvements and new features to the CLI, focusing on enhanced error handling with actionable hints, improved retry logging configuration, shell completion support, and better user experience for unknown commands. It also adds comprehensive tests for these new capabilities.
Error handling and user hints:
errfmt) that classifies common errors (such as missing authentication, forbidden, unauthorized, and timeouts) and prints actionable hints to the user, improving troubleshooting and onboarding. [1] [2] [3] [4]missingAuthError) for better error classification and hinting. [1] [2]Retry logging configuration:
SetRetryLogOverridefunction, which takes precedence over environment variables and config files. This enables more flexible and testable control of retry logging. [1] [2] [3] [4] [5] [6]Shell completion support:
completionsubcommand that prints shell completion scripts for bash, zsh, and fish, improving CLI usability. [1] [2] [3] [4]completioncommand.User experience improvements:
Runfunction to the CLI entrypoint for consistent error handling and process exit codes, including integration with the new error formatting and hints. [1] [2]Testing and quality:
These changes collectively improve the CLI's robustness, user-friendliness, and maintainability.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.