mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-21 14:11:26 +00:00
fix: unblock cli startup metadata
This commit is contained in:
10
src/entry.ts
10
src/entry.ts
@@ -185,9 +185,13 @@ export function tryHandleRootHelpFastPath(
|
||||
.catch(handleError);
|
||||
return true;
|
||||
}
|
||||
import("./cli/program/root-help.js")
|
||||
.then(({ outputRootHelp }) => {
|
||||
return outputRootHelp();
|
||||
import("./cli/root-help-metadata.js")
|
||||
.then(async ({ outputPrecomputedRootHelpText }) => {
|
||||
if (outputPrecomputedRootHelpText()) {
|
||||
return;
|
||||
}
|
||||
const { outputRootHelp } = await import("./cli/program/root-help.js");
|
||||
await outputRootHelp();
|
||||
})
|
||||
.catch(handleError);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user