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
crest.php can list commands that crest new runs after it writes the project.
Why
crest new runs nothing today: no composer, no docker, no network. This is a decision: a run that writes the files and then fails in composer is worse than printing the next commands. A list in crest.php keeps that default, and lets a user choose more.
Summary
crest.phpcan list commands thatcrest newruns after it writes the project.Why
crest newruns nothing today: no composer, no docker, no network. This is a decision: a run that writes the files and then fails in composer is worse than printing the next commands. A list increst.phpkeeps that default, and lets a user choose more.Scope
crest.php(required after [NFR]: crest init and a required crest.php #28) lists commands, in order. For examplecomposer install, orcrest upandcrest install.newruns nothing.newwrites all the files first, then runs the commands. The first command that fails stops the list, with a message that names it. The files stay.Open
project-configstub (crest stub:publish), or the questions ofnew([NFR]: crest init and a required crest.php #28).Done when
A list in
crest.phpmakesnewrun those commands in order, and stop at the first failure with a clear message.Related: #28, #8.