Skip to content

feat: add detail view and filtering flags to cocoindex show#1972

Open
AkhiChalasani wants to merge 1 commit into
cocoindex-io:mainfrom
AkhiChalasani:feat/show-flags-lmdb
Open

feat: add detail view and filtering flags to cocoindex show#1972
AkhiChalasani wants to merge 1 commit into
cocoindex-io:mainfrom
AkhiChalasani:feat/show-flags-lmdb

Conversation

@AkhiChalasani
Copy link
Copy Markdown

Closes #1830

Adds:

  • -l/--detail flag for detailed LMDB info
  • -r recursive children flag
  • -p parents flag
  • Optional STABLE_PATH argument

Only the show command was modified. No other commands affected.

@badmonster0 badmonster0 requested a review from georgeh0 May 18, 2026 21:11
@badmonster0
Copy link
Copy Markdown
Member

thanks a lot @AkhiChalasani , @georgeh0 can help take a look!

Comment thread python/cocoindex/cli.py
Comment on lines +633 to 641
async def _show_from_app(app: App[Any, Any], tree: bool, detail: bool = False, stable_path: str | None = None, recursive: bool = False, parents: bool = False) -> None:
try:
await _show_stable_paths(iter_stable_paths(app), tree)
finally:
await _stop_all_environments()


async def _show_from_database(db_path: str, app_name: str, tree: bool) -> None:
async def _show_from_database(db_path: str, app_name: str, tree: bool, detail: bool = False, stable_path: str | None = None, recursive: bool = False, parents: bool = False) -> None:
db_path_obj = pathlib.Path(db_path)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These arguments are added, but not really used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] cocoindex show full fledged inspection tool for debugging

3 participants