[PR #9] [MERGED] feat: add skeleton CLI command and fix windows path parsing #9

Closed
opened 2026-03-03 12:01:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ForLoopCodes/contextplus/pull/9
Author: @fd44fdg
Created: 3/2/2026
Status: Merged
Merged: 3/2/2026
Merged by: @ForLoopCodes

Base: mainHead: feat/cli-skeleton-and-windows-fix


📝 Commits (1)

  • 2d178eb feat: add skeleton CLI command and fix windows path parsing

📊 Changes

3 files changed (+39 additions, -25 deletions)

View changed files

📝 README.md (+6 -5)
📝 src/index.ts (+11 -1)
📝 src/tools/context-tree.ts (+22 -19)

📄 Description

What's new?

  • New CLI Command: \skeleton\ / \ ree. This allows viewing the structural tree (headers, functions, classes) directly in the terminal without starting an MCP server.
  • Windows Support: Fixed root directory resolution and path splitting logic to work correctly on Windows.
  • Robust Tree Building: Refactored the tree building logic to be more efficient and resilient to missing parent nodes.

This improvement makes \contextplus\ much more accessible for quick codebase inspection by both humans and AI agents.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ForLoopCodes/contextplus/pull/9 **Author:** [@fd44fdg](https://github.com/fd44fdg) **Created:** 3/2/2026 **Status:** ✅ Merged **Merged:** 3/2/2026 **Merged by:** [@ForLoopCodes](https://github.com/ForLoopCodes) **Base:** `main` ← **Head:** `feat/cli-skeleton-and-windows-fix` --- ### 📝 Commits (1) - [`2d178eb`](https://github.com/ForLoopCodes/contextplus/commit/2d178ebb2cbd38a7119e1b1c601e33499e398eff) feat: add skeleton CLI command and fix windows path parsing ### 📊 Changes **3 files changed** (+39 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+6 -5) 📝 `src/index.ts` (+11 -1) 📝 `src/tools/context-tree.ts` (+22 -19) </details> ### 📄 Description ## What's new? - **New CLI Command**: \skeleton\ / \ ree\. This allows viewing the structural tree (headers, functions, classes) directly in the terminal without starting an MCP server. - **Windows Support**: Fixed root directory resolution and path splitting logic to work correctly on Windows. - **Robust Tree Building**: Refactored the tree building logic to be more efficient and resilient to missing parent nodes. This improvement makes \contextplus\ much more accessible for quick codebase inspection by both humans and AI agents. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:01:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/contextplus#9
No description provided.