anishshobithps / anishshobithps/snipshot
Line-range selection (file.ts:10-30 / --lines)
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 68/100