Skip to content

feat: enhance list command with JSON output, sorting and filtering#223

Closed
hiSandog wants to merge 1 commit into
abhigyanpatwari:mainfrom
hiSandog:feature/list-command-enhancements
Closed

feat: enhance list command with JSON output, sorting and filtering#223
hiSandog wants to merge 1 commit into
abhigyanpatwari:mainfrom
hiSandog:feature/list-command-enhancements

Conversation

@hiSandog

@hiSandog hiSandog commented Mar 9, 2026

Copy link
Copy Markdown

Summary

Enhances the gitnexus list command with new features:

  • Add --json flag for script-friendly JSON output
  • Add --sort option to sort by name, indexed date, files, or symbols
  • Add --filter option to search repositories by name or path

Usage Examples

# List all repos sorted by name
gitnexus list --sort name

# Output as JSON for scripting
gitnexus list --json

# Filter repositories
gitnexus list --filter myproject

# Combined usage
gitnexus list --json --sort files --filter api

- Add --json flag for script-friendly output
- Add --sort option (name, indexed, files, symbols)
- Add --filter option to search by name or path
- Update CLI help documentation
@vercel

vercel Bot commented Mar 9, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the NexusCore Team on Vercel.

A member of the Team first needs to authorize it.

@magyargergo

Copy link
Copy Markdown
Collaborator

⚠️ Upcoming Prettier formatting — rebase instructions

PR #563 adds Prettier as the code formatter for the repo. When it merges, the bulk format commit will touch ~350 files (style-only: whitespace, quotes, trailing commas). Your branch will likely conflict.

After #563 merges, rebase your branch:

git fetch origin
git checkout <your-branch>
git rebase origin/main

# Conflicts will be formatting-only — accept your version:
git checkout --theirs .
git add .
git rebase --continue

# Then re-format your branch to match the new style:
npx prettier --write .
git add -A
git commit -m "style: apply prettier formatting"
git push --force-with-lease

New setup step: Run npm install at the repo root (not just in gitnexus/) to get prettier + activate the pre-commit hook. The hook auto-formats staged files on every commit going forward.

@hiSandog hiSandog closed this Apr 5, 2026
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.

2 participants