h3ravel/framework

Feat: Add make:command musket command to scaffold new commands

Offen

#19 geöffnet am 25.09.2025

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (14 Forks)auto 404
@h3ravel/consoleclienhancementgood first issuehelp wantedonlydust-wave

Repository-Metriken

Stars
 (22 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Background: A generator to scaffold command classes helps contributors add commands quickly and consistently.

Tasks:

  • update and make the make:command <Name> command implementation fully functional (currently dummy), seeing that the current MakeCommand class is already cluttered, you may choose to create an entirely new class for this purpose.
  • Generate a command template file (class with signature, description, handle method).
  • Respect project conventions (file path, namespace, registration).
  • Add options: --force to overwrite, --command to define the terminal command that will be used to invoke the class.
  • Add tests for generator output and file creation.

Acceptance criteria:

  • make:command HelloWorld creates a properly namespaced class at expected path and registers or documents how to register it.
  • --force overwrites; tests validate content.

Difficulty: easy–medium

Contributor Guide