@toktokhan-dev/cli-plugin-commit
Version:
A CLI plugin for managing commits built by TOKTOKHAN.DEV
28 lines (25 loc) • 743 B
TypeScript
import * as _toktokhan_dev_cli from '@toktokhan-dev/cli';
/**
* 대화형 cli 를 통해 일관된 형식의 커밋 메시지 작성을 도와주는 플러그인 입니다.
*
* @packageDocumentation
*/
interface CommitType {
name: string;
description: string;
emoji?: string;
}
/**
* @category Types
*/
interface CommitConfig {
/** 모노래포 사용시, workspace 로 커밋 범위 설정할수 있습니다. */
workspaces?: string[];
/** 커밋 타입을 지정합니다. */
types?: CommitType[] | ((initial: CommitType[]) => CommitType[]);
}
/**
* @category Commands
*/
declare const commit: _toktokhan_dev_cli.MyCommand<CommitConfig, "commit">;
export { type CommitConfig, type CommitType, commit };