Merged
Conversation
Move internal/output to internal/cli/output to better organize CLI-specific packages. This is part of the clean architecture refactoring to separate CLI concerns from core business logic. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
This was referenced Jan 19, 2026
mpyw
added a commit
that referenced
this pull request
Jan 20, 2026
- Change ShowClient interface to use provider.ParameterReader and provider.ParameterTagger instead of paramapi types - Move version resolution logic (shift handling) to usecase layer - Update ShowOutput to use string types for Version and Type (provider-agnostic, no longer tied to AWS-specific enums) - Update CLI show command to use awsparam.NewAdapter - Update GUI ParamShow to use awsparam.NewAdapter with parseInt64 helper - Update all tests to use model.Parameter and model.AWSParameterMeta Part of multi-cloud refactoring: PR #2 (Read UseCase Migration) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
mpyw
added a commit
that referenced
this pull request
Jan 20, 2026
* refactor(usecase): migrate param/show to provider interfaces - Change ShowClient interface to use provider.ParameterReader and provider.ParameterTagger instead of paramapi types - Move version resolution logic (shift handling) to usecase layer - Update ShowOutput to use string types for Version and Type (provider-agnostic, no longer tied to AWS-specific enums) - Update CLI show command to use awsparam.NewAdapter - Update GUI ParamShow to use awsparam.NewAdapter with parseInt64 helper - Update all tests to use model.Parameter and model.AWSParameterMeta Part of multi-cloud refactoring: PR #2 (Read UseCase Migration) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * refactor(model): unify field names for multi-cloud compatibility - Rename Secret.VersionID to Version (consistent with Parameter) - Rename Parameter.LastModified to UpdatedAt - Rename Secret.CreatedDate to CreatedAt - Add UpdatedAt field to Secret for providers that track both dates - Update all layers: model, provider, usecase, cli, gui This makes the model layer truly provider-agnostic, supporting AWS, Azure, and GCP field semantics uniformly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * refactor(usecase): simplify param/diff and param/show using paramversion helper - Move version resolution logic from usecase to paramversion.GetParameterWithVersion() - Update paramversion to use provider.ParameterReader interface - Add ParamReader field to staging diff runner for version resolution - Use hybrid approach in staging: Client for apply ops, Reader for version resolution - Update all test files with correct mocks for new interfaces Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
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
internal/outputtointernal/cli/outputThis is Step 1 of the usecase layer architecture refactoring plan.
Test plan
🤖 Generated with Claude Code