docs: add CLI command reference and update key docs to use bin/console
New docs/reference-cli-commands.md covers all commands, bootstrap helpers, and how to add new commands. Updated lokale-entwicklung, entwickler-checkliste, betriebscheck-doctor, index, and web/index.php error message to reference bin/console instead of legacy bin/*.php scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ setAppContainer($container);
|
||||
// ── 2. Module runtime validation ────────────────────────────────────
|
||||
// Fail-fast if the runtime page root is stale (modules changed without
|
||||
// running module-runtime-sync). No auto-build in the request path —
|
||||
// that is the responsibility of bin/module-runtime-sync.php.
|
||||
// that is the responsibility of `php bin/console module:sync`.
|
||||
|
||||
$moduleRegistry = app(ModuleRegistry::class);
|
||||
$runtimePageRoot = __DIR__ . '/../storage/runtime/pages';
|
||||
@@ -44,7 +44,7 @@ if (count($activeModules) > 0 || is_dir($runtimePageRoot) || is_link($runtimePag
|
||||
if ($expectedFingerprint !== $actualFingerprint) {
|
||||
throw new RuntimeException(
|
||||
"Module runtime is stale (expected: '{$expectedFingerprint}', actual: '{$actualFingerprint}'). "
|
||||
. 'Run: php bin/module-runtime-sync.php'
|
||||
. 'Run: php bin/console module:sync'
|
||||
);
|
||||
}
|
||||
if (is_dir($runtimePageRoot) || is_link($runtimePageRoot)) {
|
||||
|
||||
Reference in New Issue
Block a user