diff --git a/src/index.ts b/src/index.ts index dfb2492..abcb78d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,9 +17,12 @@ import { git } from './features/git' import { replace } from './features/replace' import { variable } from './features/variable' import { CliError, getColor } from './utils' -import type { ConfigTemplate, Context, ProjectInfo } from './types' +import type { Config, ConfigTemplate, Context, ProjectInfo } from './types' -export type { Config } from './types' +export type { Config } +export function defineConfig(config: Config): Config { + return config +} export async function edit(): Promise { const { init, file } = await getConfig()