MCPcopy Index your code
hub / github.com/21st-dev/1code / installCli

Function installCli

src/main/lib/cli.ts:77–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 * Platform-specific behavior is handled by the platform provider
76 */
77export async function installCli(): Promise<{
78 success: boolean
79 error?: string
80}> {
81 return platform.installCli(getCliSourcePath())
82}
83
84/**
85 * Uninstall the CLI command

Callers 1

buildMenuFunction · 0.90

Calls 2

getCliSourcePathFunction · 0.85
installCliMethod · 0.65

Tested by

no test coverage detected