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

Repl enhancements

Aperta
#417 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@steveklabnik ci sta già lavorando.

Dal 5/9/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

:star2: enhancement

It would be useful if the repl could be used in scripting and/or provided scripting.

  • Input from stdin (not just /dev/tty) should be accepted
  • Comments and blank lines should be ignored
  • All commands should respect the -j flag for JSON or other parser friendly output format.
  • Ensure that humility commands' success/failure status can be parsed.
  • Doing more than the above quickly gets to the point of embedding an interpreter, evaluate that effort and decide what to do.

This should work but doesn't because reedline forces input to come from /dev/tty and not stdin.

egrep -v '(^#|^$)' <<! | humility ...
# Get task status:
tasks

# Comments and blank lines should be ignored without filtering input.
!
Lingua principale
Rust
Stelle
587
Fork
64
Merge medio
2g 15h
PR unite (30g)
5

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 oxidecomputer/humility

Tutte le issue di oxidecomputer/humility

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.