After doing some work with Laravel and finding their artisan cli tool quite useful I was wondering if there were any plans to add a CLI to Arastta? I think it could speed up development of new sites and help administrating existing ones.
Some sample commands that might be used:
I started creating a sample cli (which you are more than welcome to use) but I was just getting it working rather than coding it nicely (so please don't judge it too much).
Some sample commands that might be used:
- install --db_name="arastta" --db_user="arastta" - Runs the (already quick) installer directly through the console
- make:module --name="my_module" could create all the blank files for a new module with the names (and have all the language and views files linked to the controllers stc)
- cache:clear - Would clear the cache. Could also clear cached images
I started creating a sample cli (which you are more than welcome to use) but I was just getting it working rather than coding it nicely (so please don't judge it too much).
Share this post:
Responses (4)
-
Accepted Answer
I created a PR with my implementation of a CLI in Arastta. I'd be interested in doing more work on this if you want so if you have any feedback that would be great -
Accepted Answer
We use Drupal alot, and it has Drush, great cli tool! would love to have cli for Arastta as well! -
Accepted Answer
I fully support this Matthew and I've created an item for this in the Ideas section so we could consider to implement it to the core of Arastta: https://arastta.org/ideas/idea/50-arastta-cli
Feel free to vote it up
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »