Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Command words: restore the beta.19 verb-slot rule

Cerrado
#240 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
csharp
Área
cli

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Aaronontheweb/ShellSyntaxTree

Todos los issues de Aaronontheweb/ShellSyntaxTree

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.