UNPKG

@sanity/cli

Version:

Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets

20 lines (16 loc) 532 B
import {createSetTelemetryConsentAction} from '../../actions/telemetry/setTelemetryConsent' import {type CliCommandDefinition} from '../../types' const helpText = ` Examples # Disable telemetry for your logged in user sanity telemetry disable ` const disableTelemetryCommand: CliCommandDefinition = { name: 'disable', group: 'telemetry', helpText, signature: '', description: 'Disable telemetry for your logged in user', action: createSetTelemetryConsentAction('denied'), } export default disableTelemetryCommand