[[], CLISetup::ARGV_PARAM, 'Compiles the global javascript file (static/js/global.js).'] ); protected $fileTemplateDest = ['static/js/global.js']; protected $fileTemplateSrc = ['global.js']; private bool $numFmt = false; private function locales() : string { $result = []; foreach (CLISetup::$locales as $loc) $result[$loc->value] = array( 'id' => '$LOCALE_' . strtoupper($loc->json()), 'name' => $loc->json(), 'domain' => $loc->domain(), 'description' => $loc->title() ); return Util::toJSON($result); } }); ?>