diff --git a/tools/wizard.php b/tools/wizard.php new file mode 100755 index 0000000..171c78a --- /dev/null +++ b/tools/wizard.php @@ -0,0 +1,31 @@ +#!/usr/bin/php +. + +/** + * The purpose of this file is to just run a configuration wizard. + */ + +// exit if not CLI +$argv or exit( 1 ); + +// load boz-mw +require __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'autoload-with-laser-cannon.php'; + +// load configuration or run the wizard +config_wizard( 'config.php' ); + +echo "Well done! You already have your config file. Now use a random tool!\n";