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

Setting helpers on the command line: paperpi helper <type>.<helper>

Aperta
#269 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Read docs/decisions/setting-helpers.md and the CLI entry point in src/paperpi/cli.py; first resolve how helpers receive prerequisite settings, a decision the issue leaves open. Then implement the command using the selected approach and check that it prints each choice’s show, link, and fill values; the issue also specifies a separate process with the web interface’s time limit.

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

Descrizione

area:core enhancement

From the setting helpers design (docs/decisions/setting-helpers.md, "Later"), agreed with txoof on 2026-10-10: helpers should also work from the command line on the Pi, for people who edit the config file by hand (v1 had met_no.get_coord).

Form chosen by txoof:

paperpi helper met_no.location "Morrison, Colorado"
  • Names the plugin type and the helper, not a plugin id, so it works before the plugin is in the config file.
  • Prints each choice's show and link texts and its fill values as lines to copy into the plugin's [[plugin]] block.
  • Runs the helper in its own process with the same time limit as the web interface.

To decide: how a helper that needs other settings first (e.g. an NS API key) gets them: from a plugin block in the config file, or typed after the text.

Low priority; after M5 part 3c (#238).

Area

core (src/paperpi/cli.py), docs.

Lingua principale
Python
Stelle
205
Fork
17
Merge medio
6h 13m
PR unite (30g)
39

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un 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 txoof/PaperPi

Tutte le issue di txoof/PaperPi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.