- Install by downloading the lastest release
- Make the file globally executable by running
- "mv cratorcli /usr/local/bin/cratorcli"
- chmod +x /usr/local/bin/cratorcli
- Test by running "cratorcli"
- use this command to fetch a zip-file from the crator api and merge its content into the provided plugin.
- use this command to update to the lastest cratorcli version.
- shows the current cratorcli version.
Get all dependencies by running "composer install" in the project's root directory.
Before creating the phar file, make sure that the envorinment is set to prod in the .env file. If the environment is set to dev, symfony will try to write the dev cache when using the phar file, which results in an error, as the phar file is read-only.
Use box for building the phar file. Install the package as described there.
Firstly, clear the cache by running "bin/console cache:clear". Then, build the phar file by running "box compile" in the root directory of the project. The phar file is then created in the root directory with the filename "cratorcli".
When adding a new feature or something, firstly, commit/merge all changes to master. Then go to github.com and draft a new release with a new release-version. Upload the builded cratorcli file there, so that it can be accessed via the update command.