MCPcopy Index your code
hub / github.com/ionic-team/capacitor / getCLIVersion

Function getCLIVersion

cli/src/common.ts:256–258  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

254}
255
256export async function getCLIVersion(config: Config): Promise<string> {
257 return getCapacitorPackageVersion(config, 'cli');
258}
259
260function getPlatformDirectory(config: Config, platform: string): string | null {
261 switch (platform) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected