Command words: restore the beta.19 verb-slot rule
Les mainteneurs répondent en général sous 1 jour
Une pull request liée a déjà été fusionnée.
- #241 par @Aaronontheweb — fusionnée
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C#
- Étoiles
- 16
- Forks
- 0
- Merge moyen
- 9 h 8 min
- PR mergées (30 j)
- 46
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Aaronontheweb/ShellSyntaxTree
-
Bash: an assignment in a loop body that reads the loop variable is not listed on later commandsOuvertebug
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Aaronontheweb/ShellSyntaxTree#249 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 57/100
Aaronontheweb/ShellSyntaxTree#244 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Aaronontheweb/ShellSyntaxTree#236 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
Aaronontheweb/ShellSyntaxTree#235 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 38/100
Aaronontheweb/ShellSyntaxTree#227 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Aaronontheweb/ShellSyntaxTree
Issues similaires
-
area:jobads-cv BE mvp P2
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
klasolsson81/jobbliggaren#2099 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
0 - Backlog Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
BrighterCommand/Brighter#4581 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
Esri/calcite-dotnet-toolkit#30 · 1 réaction ·
-
kind:docs simplification size:S status:todo
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
elsa-workflows/elsa-foundation#2604 ·
Les mainteneurs répondent en général sous 1 jour