Lack of documentation/Help for settings options
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 42/100
Rechercherichtung
The payload names only the CLI commands --set, --get, --info and the settings list shown by --set with no argument, so start by finding where those commands are handled in the Python CLI. Decide where the acceptable values for each setting would come from, since the issue does not say, and confirm with a maintainer before coding. Done means --set or --get also prints a human-readable description of allowed values, such as the bluetooth.mode options, and the existing output stays unchanged.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Related to https://github.com/meshtastic/meshtastic/issues/2005
There is a lack of built-in documentation for what settings accept what values. for example if you list the settings with --set you just get a list of settable settings, but not what acceptable inputs are:
Once you read or set something you only get the raw value ie:
And the --info returns in a JSON with no acceptable input values.
I'm recommending two changes:
Change 1:
Add an option to display the acceptable input for a given command. taking the bluetooth settings from https://github.com/meshtastic/meshtastic/issues/2005:
bluetooth:
bluetooth.enabled
0 = Bluetooth Disabled
1 = Bluetooth Enabled
bluetooth.fixed_pin
xxxxxx = 6 digits for pin
bluetooth.mode
0 = Random Pin
1 = Fixed pin (Requires fixed_pin to be set)
2 = No Pin
Change 2:
Modify how the --set and --get command respond to include a human readable format as well. Something like this:
- Vorherrschende Sprache
- Python
- Sterne
- 855
- Forks
- 355
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 12
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus meshtastic/python
-
BLE: node unreachable on Linux after pairing — bluez auto-reconnect holds the single connectionOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
meshtastic/python#972 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Bug: Can't run on TermuxEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
meshtastic/python#969 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
meshtastic/python#506 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
meshtastic/python#985 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Undocumented `--set` choicesEvtl. vergeben @Cryptoteep hat das vor 54 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
meshtastic/python#978 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in meshtastic/python
Ähnliche Issues
-
[Bug]: test_remote_realpath_uses_argument_vector fails on Windows with Python 3.13+ (ntpath.isabs)Evtl. vergeben @gouyu-hou hat das heute übernommen. Offentriage/confirmed
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
agentscope-ai/agentscope#4397 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
NousResearch/hermes-agent#161712 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[New Check]: postgresql_flexible_server_public_network_access_disabledEvtl. vergeben @pouria-l hat das heute übernommen. Offenfeature-request status/needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
prowler-cloud/prowler#13615 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
SACGF/variantgrid#2941 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
linkedin/Liger-Kernel#1730 ·
Maintainer antworten meist innerhalb von 3 Tagen