No description
- Rust 99.9%
- Dockerfile 0.1%
Move tree accordion tests to rmdirs-core and align browse_panel tests with FS-only tree building and expansion preservation. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .cursor/rules | ||
| .devcontainer | ||
| .specstory | ||
| .vscode | ||
| apps/rmdirs | ||
| crates | ||
| .cursorignore | ||
| .cursorindexingignore | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| rmdirs.code-workspace | ||
| rust-toolchain.toml | ||
rmdirs
Tooling workspace built around exposed endpoints — every capability is an endpoint invocable via CLI, REST API, TUI, or WebUI with equal capability (unless marked cli_api_extended).
Quick start
# Build
cargo build
# CLI
cargo run -p rmdirs -- list
cargo run -p rmdirs -- invoke ping
cargo run -p rmdirs -- invoke list_dir -p path=.
# REST API and Web UI (port 3000)
cargo run -p rmdirs -- web
# TUI
cargo run -p rmdirs -- tui
Dev container
- Install the Dev Containers extension in Cursor/VS Code.
- Open
rmdirs.code-workspace(File → Open Workspace from File…). - Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) → Dev Containers: Reopen in Container. - Wait for the image build and
cargo build --workspaceto finish.
Port 3000 will be forwarded automatically. Use Run and Debug or the workspace tasks for build/test/clippy.
Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ CLI │ │ REST API │ │ TUI │ │ WebUI │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘
└───────────────┴───────────────┴───────────────┘
│
┌────────▼────────┐
│ Dispatcher │
│ EndpointRegistry│
└────────┬────────┘
│
┌────────▼────────┐
│ rmdirs-endpoints│
│ ping, health, │
│ list_dir, ... │
└─────────────────┘
See .cursor/rules/architecture.mdc for contributor guidance.