Closed ABGEO closed 4 years ago
@ABGEO I won’t be able to review until the weekend. I have other engagements at the moment.
Sorry guys, I have a lot of work and I can’t finish this now.
Great work @ABGEO we're getting there slowly, no rush!
@ABGEO The init command doesn't seem to work for me. It asks me for composer information: package name, description, license. But then it doesn't ask me for the dependencies I want to install.
The command I run is:
bin/slim init -d new-project
bin/slim init -d new-project
@l0gicgate the -d
(Default) flag prevents us from choosing dependencies. It installs default packages. You can run this command without -d
and it will ask you to set up dependencies: bin/slim init new-project
.
Also, please see the help message: bin/slim init --help
@l0gicgate
The following messages can we reformat them:
Done.
As for choices can we start the lists at
1
instead of0
:
No, this is not possible in the Symfony console.
Great work @ABGEO! Thank you for this contribution. Sorry for taking so long to merge this.
Thanks @l0gicgate! It's a great pleasure to work with you. I'll try to help with other things too :)
Resolves #3
I implemented the initialization command and profile structure. I decided to use a separate directory for each profile. So each Slim init profile must:
Slim\Console\Command\Initializer\Profiles\InitProfileInterface
or extendSlim\Console\Command\Initializer\Profiles\AbstractInitProfile
;run
method;This structure allows us to easily define new profiles and use them. We can also publish profiles on Packagist and require them using composer.
I implemented
Blank
profile with following features:composer.json
After the review I will write tests.