MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / handleRunCommandCopy

Function handleRunCommandCopy

web/src/components/ui/install-dialog.tsx:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 const handleRunCommandCopy = () => {
55 navigator.clipboard.writeText('codebuff')
56 posthog.capture(AnalyticsEvent.INSTALL_DIALOG_RUN_COMMAND_COPIED)
57 runCopyButtonRef.current?.click()
58 }
59
60 const handleInstallCommandCopy = () => {
61 navigator.clipboard.writeText('npm install -g codebuff')

Callers 1

InstallDialogFunction · 0.70

Calls 1

captureMethod · 0.80

Tested by

no test coverage detected