Command words: restore the beta.19 verb-slot rule
Maintainer antworten meist innerhalb von 1 Tag
Ein zugehöriger Pull Request wurde bereits gemerged.
- #241 von @Aaronontheweb — gemerged
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Start by reading the command-word projection around CommandOccurrence.CommandWords and the change in linked pull request #241. Check the listed command examples, especially how words after options differ in and after the verb slot. Done means the projection matches the pinned outputs while retaining the existing post-verb option-value behavior.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
0.4.0-beta.20 (#237) skips a plain word after an option in the verb slot of CommandOccurrence.CommandWords. Without the grammar of a program, a switch without a value, followed by a subcommand, looks the same as an option and its value. So the projection drops the subcommand. A Netclaw probe showed the cost: a short grant covers a hidden program.
| Command | beta.20 words |
|---|---|
git --no-pager push |
git |
xargs -0 rm |
xargs |
env -i rm |
env |
Decision
The owner restores the beta.19 verb-slot rule. Netclaw stays on the beta.19 behavior and offers an explicit broad grant instead.
- In the verb slot, a plain word directly after an option stays a command word.
- After the verb slot, a plain word directly after an option is skipped as that option's value, as before.
Pins: docker --debug run gives docker run, ilspycmd -t X /p/x.dll gives ilspycmd X, git --no-pager push gives git push, and xargs -0 rm gives xargs rm.
- Vorherrschende Sprache
- C#
- Sterne
- 15
- Forks
- 0
- Ø Merge
- 9 Std. 8 Min.
- Gemergte PRs (30 T.)
- 46
Entwicklungsumgebung
- Kein Dockerfile und keine 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 Aaronontheweb/ShellSyntaxTree
-
Bash: an assignment in a loop body that reads the loop variable is not listed on later commandsOffenbug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Aaronontheweb/ShellSyntaxTree#249 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
Aaronontheweb/ShellSyntaxTree#244 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Aaronontheweb/ShellSyntaxTree#236 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
Aaronontheweb/ShellSyntaxTree#235 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 38/100
Aaronontheweb/ShellSyntaxTree#227 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Aaronontheweb/ShellSyntaxTree
Ähnliche Issues
-
bug component/other
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
umbraco/Umbraco.AI#511 ·
Maintainer antworten meist innerhalb von 1 Tag
-
sev:L
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
Systemorph/MeshWeaver#6233 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]:Offenbug needs response
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Adyen/adyen-dotnet-api-library#1874 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
CommunityToolkit/Aspire#2231 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
Flow-Launcher/Flow.Launcher#4697 ·
Maintainer antworten meist innerhalb von 4 Tagen