Command words: restore the beta.19 verb-slot rule
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #241 de @Aaronontheweb — fusionado
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 15
- Forks
- 0
- Merge medio
- 9 h 8 min
- PR fusionados (30 d)
- 46
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Aaronontheweb/ShellSyntaxTree
-
Bash: an assignment in a loop body that reads the loop variable is not listed on later commandsAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Aaronontheweb/ShellSyntaxTree#249 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
Aaronontheweb/ShellSyntaxTree#244 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Aaronontheweb/ShellSyntaxTree#236 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Aaronontheweb/ShellSyntaxTree#235 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
Aaronontheweb/ShellSyntaxTree#227 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de Aaronontheweb/ShellSyntaxTree
Issues similares
-
Bug pulumi/pulumi
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
activescott/lessmsi#306 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
HTML sitemap lists unpublished pagesPosiblemente ocupada @KrzysztofPajak la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
grandnode/grandnode2#883 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: `winapp ui <command> --on sandbox --help` starts sandbox setup instead of showing helpAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día