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

Function handleCdCommandCopy

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

Source from the content-addressed store, hash-verified

46 }
47
48 const handleCdCommandCopy = () => {
49 navigator.clipboard.writeText('cd /path/to/your-repo')
50 posthog.capture(AnalyticsEvent.INSTALL_DIALOG_CD_COMMAND_COPIED)
51 cdCopyButtonRef.current?.click()
52 }
53
54 const handleRunCommandCopy = () => {
55 navigator.clipboard.writeText('codebuff')

Callers 1

InstallDialogFunction · 0.70

Calls 1

captureMethod · 0.80

Tested by

no test coverage detected