feat(cli): move provider login/logout

This commit is contained in:
Peter Steinberger
2026-01-08 07:40:08 +01:00
parent 903f5af59c
commit e83c6ac088
19 changed files with 153 additions and 68 deletions

View File

@@ -143,7 +143,7 @@ export async function healthCommand(
runtime.log(
summary.web.linked
? `Web: linked (auth age ${summary.web.authAgeMs ? `${Math.round(summary.web.authAgeMs / 60000)}m` : "unknown"})`
: "Web: not linked (run clawdbot login)",
: "Web: not linked (run clawdbot providers login)",
);
if (summary.web.linked) {
const cfg = loadConfig();

View File

@@ -856,7 +856,7 @@ export async function setupProviders(
}
} else if (!whatsappLinked) {
await prompter.note(
"Run `clawdbot login` later to link WhatsApp.",
"Run `clawdbot providers login` later to link WhatsApp.",
"WhatsApp",
);
}