Comand line shell

Talk about new features for CMSMS and modules.
Locked
HarmO
Power Poster
Power Poster
Posts: 251
Joined: Thu Jan 26, 2012 3:22 pm
Location: Belgium

Comand line shell

Post by HarmO »

it would be cool if a CLI tool exist for CMSMS.
like drupal has drush, wordpress has wp-cli. CMSMS could have its own comand line script.

easy setup, easy updates, clearing cache. all trough a line of text.
it would be fantastic if you could type somethin in the style of

Code: Select all

user@localhost: var/www$ cmsms dl stable-version name "mysite"
user@localhost: var/www$ cmsms install "mysite"
And afterwards you can do things like update

Code: Select all

user@localhost: var/www/mysite$ cmsms update
Or clear cache

Code: Select all

user@localhost: var/www/mysite$ cmsms cacheclear
checking module status to see witch module to update

Code: Select all

user@localhost: var/www/mysite$ cmsms modulestatus
user@localhost: var/www/mysite$ cmsms moduleupdate 15 //module number
user@localhost: var/www/mysite$ cmsms moduleupdate all
Kind regards,
HarmO
JohnnyB
Dev Team Member
Dev Team Member
Posts: 729
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: Comand line shell

Post by JohnnyB »

+1 Sounds like a great feature.
If you are handy with command line, you can still do things like this to find all files and remove them from a directory:
find temp/cache -type f -exec rm -f {} +
find temp/templates_c -type f -exec rm -f {} +

add if older than 10 days:
find temp/cache -type f -mtime +10 -exec rm -f {} +

But, yeah, user@localhost: var/www/mysite$ cmsms cacheclear would be super easy ;)
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
HarmO
Power Poster
Power Poster
Posts: 251
Joined: Thu Jan 26, 2012 3:22 pm
Location: Belgium

Re: Comand line shell

Post by HarmO »

There was a presentation during the last geekmoot on this subject.

I was hoping to go but couldn't.
Any chance that someone filmed it?
Kind regards,
HarmO
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Comand line shell

Post by velden »

During GeekMoot there was no presentation about a CLI tool for CMSMS.
HarmO
Power Poster
Power Poster
Posts: 251
Joined: Thu Jan 26, 2012 3:22 pm
Location: Belgium

Re: Comand line shell

Post by HarmO »

Not on a CLI tool but on installation trough CLI was i believe. It was on the schedule anyway:
13:55 - 14:15 - CMSMS installation via Shell (Anne-Mieke Bovelett)
Kind regards,
HarmO
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Comand line shell

Post by velden »

Yes, it was however covered by Jeff's presentation (ajprog).

The actual installation is done through the usual install method by the way.
Last edited by velden on Wed Mar 25, 2015 12:49 pm, edited 1 time in total.
Reason: typo
HarmO
Power Poster
Power Poster
Posts: 251
Joined: Thu Jan 26, 2012 3:22 pm
Location: Belgium

Re: Comand line shell

Post by HarmO »

ok thanx for telling :-)
Kind regards,
HarmO
Locked

Return to “Feature ideas”