MCPcopy Create free account
hub / github.com/echoVic/blade-code / resetUserConfig

Function resetUserConfig

src/config/user-config.ts:128–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 * 重置用户配置
127 */
128export function resetUserConfig(): void {
129 saveUserConfig(DEFAULT_USER_CONFIG);
130 console.log(chalk.green('✅ 已重置用户配置为默认值'));
131}
132
133/**
134 * 显示当前配置

Callers 1

configCommandFunction · 0.85

Calls 2

saveUserConfigFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected