docs: use npx prefix in telemetry CLI commands

Users run via npx, not a global install — fix all examples and output messages.
This commit is contained in:
kumarabhirup 2026-03-05 15:35:42 -08:00
parent 6ebdb5f851
commit 113b1ffb17
No known key found for this signature in database
GPG Key ID: DB7CA2289CAB0167
2 changed files with 11 additions and 11 deletions

View File

@ -84,8 +84,8 @@ of privacy mode.
Toggle privacy mode:
```bash
denchclaw telemetry privacy off # capture full content
denchclaw telemetry privacy on # redact content (default)
npx denchclaw telemetry privacy off # capture full content
npx denchclaw telemetry privacy on # redact content (default)
```
### PostHog evaluations
@ -136,7 +136,7 @@ and AI observability):
### CLI command
```bash
denchclaw telemetry disable
npx denchclaw telemetry disable
```
### Environment variable
@ -158,7 +158,7 @@ Telemetry is automatically disabled when `CI=true` is set.
### Check status
```bash
denchclaw telemetry status
npx denchclaw telemetry status
```
---
@ -168,8 +168,8 @@ denchclaw telemetry status
### Privacy mode
```bash
denchclaw telemetry privacy on # redact message content (default)
denchclaw telemetry privacy off # send full message content
npx denchclaw telemetry privacy on # redact message content (default)
npx denchclaw telemetry privacy off # send full message content
```
Privacy mode is stored in `~/.openclaw-dench/telemetry.json` and is read by both
@ -196,7 +196,7 @@ sending them. Useful for inspecting exactly what would be reported.
## Re-enabling
```bash
denchclaw telemetry enable
npx denchclaw telemetry enable
```
## How It Works

View File

@ -34,7 +34,7 @@ export function registerTelemetryCommand(program: Command) {
.action(() => {
writeTelemetryConfig({ enabled: false });
console.log("Telemetry has been disabled.");
console.log("You can re-enable it anytime with: denchclaw telemetry enable");
console.log("You can re-enable it anytime with: npx denchclaw telemetry enable");
});
cmd
@ -54,7 +54,7 @@ export function registerTelemetryCommand(program: Command) {
.description("Enable privacy mode (redacts message content, default)")
.action(() => {
if (!isTelemetryEnabled()) {
console.log("Telemetry is currently disabled. Enable it first with: denchclaw telemetry enable");
console.log("Telemetry is currently disabled. Enable it first with: npx denchclaw telemetry enable");
return;
}
writeTelemetryConfig({ privacyMode: true });
@ -66,11 +66,11 @@ export function registerTelemetryCommand(program: Command) {
.description("Disable privacy mode (sends full message content)")
.action(() => {
if (!isTelemetryEnabled()) {
console.log("Telemetry is currently disabled. Enable it first with: denchclaw telemetry enable");
console.log("Telemetry is currently disabled. Enable it first with: npx denchclaw telemetry enable");
return;
}
writeTelemetryConfig({ privacyMode: false });
console.log("Privacy mode disabled. Full message content and tool results will be captured.");
console.log("Re-enable anytime with: denchclaw telemetry privacy on");
console.log("Re-enable anytime with: npx denchclaw telemetry privacy on");
});
}