Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Mode where the entire contents of the file are output

Aperta
#62 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
shell
Ambito
cli

Direzione di ricerca

Start by reading the existing command-line handling for --insert and how it reads and writes files. Add a mode that emits the complete updated file to standard output, including for non-local inputs, without overwriting the source or creating .orig. or .toc. files; verify that the generated output can be redirected or piped to another script.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

It would be nice to have a mode like --insert except instead of overwriting the existing file, the entire new contents of the file (not just the TOC) are output to standard output. Unlike --insert this could work on non-local files, and allow another script to upload the file. It would also let you work on local files saving the result somewhere else and avoiding the next to create the .orig. and .toc.` files which need cleaning up in scripts.

Lingua principale
Shell
Stelle
3.3k
Fork
2.7k
Merge medio
7m
PR unite (30g)
3

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ekalinin/github-markdown-toc

Tutte le issue di ekalinin/github-markdown-toc

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.