anishshobithps / anishshobithps/snipshot
Line-range selection (file.ts:10-30 / --lines)
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Snapshot only part of a file:
- `snipshot file.ts:10-30`
- or `--lines 10-30`
Pairs with `--line-start` so displayed numbers match the source.
- [ ] Parse `path:start-end` and `--lines`
- [ ] Slice code before render, preserve numbering
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by finding the CLI argument parsing for `snipshot file.ts` and existing handling of `--line-start`. Add support for `path:start-end` and `--lines 10-30`, then trace where code is passed to rendering so it can be sliced before render. Done means both example commands snapshot only the requested range and displayed line numbers still match the source.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 68/100