Feature/passing server fields for lists#7
Merged
Conversation
insomnes
reviewed
May 19, 2026
insomnes
approved these changes
May 19, 2026
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.
This pull request refactors and streamlines several CLI commands in the
contree_clitool, focusing on deduplication, improved pagination, and enhanced error handling. The most significant changes are the removal of redundant command implementations, the centralization of operation management logic, and the adoption of a generic paginated fetcher for listing commands. These updates improve maintainability, consistency, and user experience.Command refactoring and deduplication:
killandpscommand implementations, replacing them with aliases to subcommands inoperationfor unified operation management (contree_cli/arguments.py,contree_cli/cli/kill.py,contree_cli/cli/operation.py). [1] [2] [3] [4] [5] [6] [7]Pagination and performance improvements:
imagesandfile lscommands with the newPaginatedFetcherclass, supporting concurrency and better handling of result limits (contree_cli/cli/images.py,contree_cli/cli/file.py). [1] [2] [3] [4] [5]Error handling and robustness:
contree_cli/__main__.py). [1] [2]Formatter and output consistency:
ls,images import, and related commands (contree_cli/cli/ls.py,contree_cli/cli/images.py). [1] [2] [3] [4]Code cleanup:
contree_cli/cli/file.py,contree_cli/cli/ls.py). [1] [2]Let me know if you'd like a walkthrough of any of the new logic or help updating documentation/tests!