You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NFR]: Commands know the flavor of the project #44
Each project command declares the flavors that it supports. A command for a different flavor stops with a clear error, and crest list shows only the commands of the flavor of the project.
Today each command runs in each flavor. make:responder in an MVC project fails with unknown path 'responder': the message names a config key, not the real problem.
Scope
Each command declares its flavors. A command that declares none runs in all flavors (about, config:show, serve, ...).
A command for a different flavor stops before it does work, with a message that names the flavor.
In a project, crest list shows only the commands of its flavor.
The console core does not know the flavor.
A command that has no MVC version yet is ADR only: make:action, make:command, make:middleware, make:provider, make:responder, route:list, container:list, event:list.
Open
Where the declaration is: on the command, or in the command set.
Done when
In an MVC project, crest list shows no ADR commands, and crest make:responder Foo stops with a message that names the flavor. ADR projects do not change.
Activity
niden commentedon Oct 13, 2026
Resolved in #57