feat: flatten node CLI commands

This commit is contained in:
Peter Steinberger committed 2026-01-21 16:48:42 +00:00
1 parent 0e003cb7f1
commit fa1bc589e4
5 files changed
+48 -321

No files matched your search

+2 -7
View File
@@ -47,10 +47,7 @@ type NodeDaemonStatusOptions = {
};
function renderNodeServiceStartHints(): string[] {
const base = [
formatCliCommand("clawdbot node service install"),
formatCliCommand("clawdbot node start"),
];
const base = [formatCliCommand("clawdbot node install"), formatCliCommand("clawdbot node start")];
switch (process.platform) {
case "darwin":
return [
@@ -172,9 +169,7 @@ export async function runNodeDaemonInstall(opts: NodeDaemonInstallOptions) {
});
if (!json) {
defaultRuntime.log(`Node service already ${service.loadedText}.`);
defaultRuntime.log(
`Reinstall with: ${formatCliCommand("clawdbot node service install --force")}`,
);
defaultRuntime.log(`Reinstall with: ${formatCliCommand("clawdbot node install --force")}`);
}
return;
}