Add concept list command - #10
Merged
Merged
Conversation
schultzjack
marked this pull request as ready for review
July 9, 2026 14:06
Author
|
Marked this ready for review. It's been open a couple weeks — flagging in case it fell off the radar. Happy to adjust the approach if this isn't the direction you'd want, or if it's not a priority right now, let me know and I'll focus elsewhere. No rush either way. |
paynejd
approved these changes
Aug 25, 2026
paynejd
left a comment
Member
There was a problem hiding this comment.
Approving — this closes #2456 exactly as specified. Clean delegation via the shared _search_concepts() helper, includes a test, and updates both the README and demo docs. Thanks @schultzjack, and sorry for the wait on this one.
This was referenced Aug 25, 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.
Linked Issue
Closes OpenConceptLab/ocl_issues#2456
Summary
Adds
ocl concept listas a discoverable browse command for concepts. It reuses the existing concept search path with no query, so options like--owner,--repo,--repo-type, pagination, filtering, and--verbosebehave the same asocl concept search.Also updates the README and demo docs so the new command is visible in the command reference and agent-readiness examples.
Test Plan
.venv/bin/python -m pytest.venv/bin/ruff check src/ocl_cli/commands/concept.py tests/test_concept_commands.pyNotes
I also ran
.venv/bin/ruff check .; it currently reports existing lint findings in untouched files, mostly import ordering and unused imports. I kept this PR scoped toconcept listrather than mixing in repository-wide lint cleanup.