MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getChromeFlag

Function getChromeFlag

src/hooks/useChromeExtensionNotification.tsx:7–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import { isRunningOnHomespace } from '../utils/envUtils.js';
6import { useStartupNotification } from './notifs/useStartupNotification.js';
7function getChromeFlag(): boolean | undefined {
8 if (process.argv.includes('--chrome')) {
9 return true;
10 }
11 if (process.argv.includes('--no-chrome')) {
12 return false;
13 }
14 return undefined;
15}
16export function useChromeExtensionNotification() {
17 useStartupNotification(_temp);
18}

Callers 1

_tempFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected