fix(cli): keep image command tree supported#331
Merged
Conversation
|
PR Title: fix(cli): keep image command tree supported Commit: 本次 PR 将 核心改动:
整体评估:变更逻辑清晰,测试覆盖充分,文档同步更新,没有发现引入正确性、安全性或兼容性风险的缺陷。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agent-compose imageand itsls,pull,build,rm, andinspectsubcommands as supported CLI commands without deprecation warningsagent-compose image pull [image]match the top-levelpull [image]shortcut, including the no-argument project image workflowimagecommand tree and its top-level shortcutsTesting
GOFLAGS=-buildvcs=false go test ./cmd/agent-compose -run 'TestCLIImageRootCommandShowsHelp|TestIntegrationCLIImagesAliasesAndJSON|TestIntegrationCLIImagePullAliasesAndJSON|TestIntegrationCLIPullProjectImages|TestIntegrationCLIProjectBuildImages|TestIntegrationCLIImageRemoveAliasesAndJSON|TestIntegrationCLIImageInspectJSON|TestE2ECLIHelpCommands' -count=1GOFLAGS=-buildvcs=false task lint GO_BUILD_CACHE_DIR="$GOCACHE" GOLANGCI_LINT_CACHE_DIR="$GOLANGCI_LINT_CACHE"GOFLAGS=-buildvcs=false task build GO_BUILD_CACHE_DIR="$GOCACHE"task test GO_BUILD_CACHE_DIR="$GOCACHE"task docs:buildcurrently fails because the existing Englishagent-compose-yaml-manual.mddoes not reference thecommit,description, anddisplay_nameschema fields; this PR does not modify that manual or those schema fieldsChecklist