anishshobithps / anishshobithps/snipshot
Line-number controls: toggle and custom start
Đang mở
area: aesthetics
effort: small
enhancement
good first issue
- 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ả
Line numbers are always on today (`lineNumbers:'on'`). Add:
- `--no-line-numbers`
- `--line-start ` — number a snippet from its real position in the file
- [ ] Flags + interactive prompts
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 locating the handling for `lineNumbers:'on'` and the existing command-line argument and interactive-prompt entry points. Add support for disabling line numbers and setting a custom starting number, then verify that both flags and interactive prompts produce correctly numbered or unnumbered snippets.
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
- Khá rõ ràng
- Mức phù hợp với người mới
- 58/100