MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / generateAction

Function generateAction

packages/cli/src/index.ts:10–12  ·  view source on GitHub ↗
(options: Parameters<typeof actions.generate>[0])

Source from the content-addressed store, hash-verified

8import { checkNewVersion, getVersion } from './utils/version-utils';
9
10const generateAction = async (options: Parameters<typeof actions.generate>[0]): Promise<void> => {
11 await telemetry.trackCommand('generate', () => actions.generate(options));
12};
13
14const migrateAction = async (subCommand: string, options: any): Promise<void> => {
15 await telemetry.trackCommand(`migrate ${subCommand}`, () => actions.migrate(subCommand, options));

Callers

nothing calls this directly

Calls 2

trackCommandMethod · 0.80
generateMethod · 0.65

Tested by

no test coverage detected