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:

  • 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).
Saturday, January 09 2016, 07:12 PM
Like
1
Share this post:
Responses (4)
  • Accepted Answer

    Saturday, January 09 2016, 07:34 PM - #Permalink
    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 ;)
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 09 2016, 08:38 PM - #Permalink
    We use Drupal alot, and it has Drush, great cli tool! would love to have cli for Arastta as well!
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2016, 04:13 AM - #Permalink
    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 :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 20 2016, 09:20 AM - #Permalink
    I'm currently testing that Matthew, will write back soon ;)
    The reply is currently minimized Show
Your Reply