ctxstuff

ctxstuff

stuff your context. glitch the prompt.

// installation

npm install -g ctxstuff

// usage

# pack a directory
ctxstuff ./src

# save to file
ctxstuff ./src -o context.md

# without file tree
ctxstuff ./src --no-tree

# exclude patterns
ctxstuff ./src -e "*.test.js" -e "node_modules"

// output example

# File Tree
src/
├── index.ts
├── utils/
│   ├── parser.ts
│   └── formatter.ts
└── types.ts

# src/index.ts
```typescript
import { parse } from './utils/parser';
import { format } from './utils/formatter';
// ... file content
```

# src/utils/parser.ts
```typescript
export function parse(input: string) {
  // ... file content
}
```
← back to all tools