-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the Console component #9
Comments
my idea (for now) was to keep chash a one-file script to make it easy to just downlad-and-execute. IS there any way to do that for the console element? (bundle it inside the same file) |
As far as I know is not possible to do it in one file. |
One question: If we add a code in chash that code will only exist in the chash.php file (In order to work in all chamilo installation) right? |
In fact we can do it using phars files, we can write our code in different files then you can "compress" all PHP files into a single file something like "chash.phar", then you can execute the file. See: http://phpmaster.com/packaging-your-apps-with-phar/ |
…h to be executed in 1 single file a new chash.phar is created see #9
The chash works fine, but we are going to add more features. It will be nice to implement a cleaner way using the console component.
You just hook up commands for example: "database management", "translations", etc
http://symfony.com/doc/2.0/components/console/introduction.html
The text was updated successfully, but these errors were encountered: