joomlatools / joomlatools-console

Command line interface (CLI) for Joomla.
https://www.joomlatools.com/developer/tools/console/
Mozilla Public License 2.0
110 stars 48 forks source link

Make the console ubiqutious #127

Closed yiendos closed 3 years ago

yiendos commented 4 years ago

At present the JT console box is heavily dependent on the joomlatools-vagrant. Increasingly we are seeing the need for these commands on:

My idea is that a lot of the defaults (www | mysql_host | user | password | php) could be provided by system environment variables.

This way we can still easily use joomla site:create testing for a range of different environments

stevenrombauts commented 4 years ago

@yiendos FYI, this is related to these tickets:

The easiest solution would be to create a separate Configuration option that will have all the default values (just like Joomla's configuration.php file) but can load settings from an ini or yaml file (which we could look for at a default location, ie $HOME/.console/config.yaml?

yiendos commented 4 years ago

@stevenrombauts config files would be much better than ENVs indeed. Top thinking ah'kid :)

amazeika commented 3 years ago

@yiendos Not sure the work I've done cover all your needs but please check it out => #132