Get me a standard agavi project, the fast way
More often than not I want to create a new agavi project the “standard” way, that is:
- Change the projects name
- Change the projects prefix
- Use the defaults for all other options
Calling agavi project-wizard makes me answer all questions, one by one. Sure, pressing enter at every prompt works, but I value my time too much to press enter at every prompt. I’d rather go write a blog post about how not to press enter at every prompt.
Enter “yes”
“yes” is a small commandline utility that answers “yes” or any given string to any prompt given to it:
yes '' | agavi project-wizard
will create a project with all default values. Now the only thing that needs fixing is the project name and the project prefix - we can do that on the commandline[1]:
yes '' | agavi -D project.name "My little test project" -D project.prefix "MyLTP" project-wizard
This is not faster in any way than running through the wizard, but I can do other things during that time.
[1] Please note this bug that prevents passing parameters with spaces to the build system: http://trac.agavi.org/ticket/1137

