MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / incrementCommandCount

Function incrementCommandCount

packages/cli/src/telemetry/config.ts:139–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 * Increment the command counter and persist.
138 */
139export function incrementCommandCount(): number {
140 const config = readConfig();
141 config.commandCount++;
142 writeConfig(config);
143 return config.commandCount;
144}
145
146/** Expose the config directory path for the telemetry command output */
147export const CONFIG_PATH = CONFIG_FILE;

Callers

nothing calls this directly

Calls 2

readConfigFunction · 0.85
writeConfigFunction · 0.85

Tested by

no test coverage detected