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

Function handleInstallCommandCopy

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

Source from the content-addressed store, hash-verified

58 }
59
60 const handleInstallCommandCopy = () => {
61 navigator.clipboard.writeText('npm install -g codebuff')
62 posthog.capture(AnalyticsEvent.INSTALL_DIALOG_INSTALL_COMMAND_COPIED)
63 installCopyButtonRef.current?.click()
64 }
65
66 return (
67 <Dialog open={isOpen} onOpenChange={close}>

Callers 1

InstallDialogFunction · 0.70

Calls 1

captureMethod · 0.80

Tested by

no test coverage detected