분류, 패키지 및 저장소 검색

패키지 상세v0.0.1

ai_commit

OpenAI를 사용하여 커밋 메시지를 생성하는 Dart CLI

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
72
좋아요
3
Pub 점수
120

패키지 설치

flutter pub add ai_commit

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

ai_commit은 OpenAI의 언어 모델을 사용하여 커밋 메시지를 생성하는 Dart 명령줄 도구입니다. 개발 워크플로우에 원활하게 통합되어 코드 변경 사항을 기반으로 설명적이고 의미 있는 커밋 메시지를 자동으로 생성할 수 있게 해줍니다. 생성형 AI를 활용함으로써 커밋 작성에 소요되는 시간을 줄이고 팀 간 일관성을 높입니다. 모바일, 웹, 데스크톱 등 다양한 플랫폼을 지원해 크로스플랫폼 프로젝트에 유용하며, 버전 관리 실천에서 자동화를 원하는 개발자에게 이상적인 도구입니다.

사용 사례

  • 커밋 메시지 생성 자동화
  • 커밋 메시지 품질 개선
  • 팀 협업 간소화
  • git 워크플로우에서 수동 입력 줄이기
  • 코드 리뷰 명확성 향상

주요 기능

  • 인공지능 기반 커밋 메시지를 생성합니다
  • 여러 플랫폼을 지원합니다
  • Flutter 및 Dart 프로젝트와 통합됩니다
  • 자연어 처리에 OpenAI를 사용합니다
  • 간편한 사용을 위한 명령줄 인터페이스

적합한 대상

  • Flutter와 Git을 사용하는 개발자
  • 일관된 커밋 메시지를 목표로 하는 팀
  • CI/CD 파이프라인 통합자
  • DevOps 엔지니어
  • 효율을 원하는 개인 기여자

고려 사항

  • OpenAI API 키가 필요합니다
  • 인터넷 연결에 따라 달라짐
  • 적절한 맥락 없이 잘못된 메시지를 생성할 수 있습니다
  • 민감한 코드 환경에 적합하지 않습니다
  • AI 프롬프트의 사용자 정의 제한

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

ai_commit

pub package Last Commits GitHub repo size License
Uploaded By

Dart CLI for generated git commit messages with OpenAI.


Quick Started 🚀

Installing

dart pub global activate ai_commit

Or install a specific version using:

dart pub global activate ai_commit <version>

Commands

ai_commit -h

See the complete list of commands and usage information.

Dart CLI for generated commit messages with OpenAI.

Usage: ai_commit <command> [arguments]

Global options:
-h, --help                 Print this usage information.
-a, --all                  Automatically stage changes in tracked files for the commit
-c, --count                Count of messages to generate (Warning: generating multiple costs more)
-m, --model                Locale language for commit message.
-x, --exclude              Files to exclude from AI analysis
-l, --max-length           Set max length of commit message.
    --locale               Locale language for commit message.
    --[no-]conventional    Format the commit message according to the Conventional Commits specification.
-v, --version              Print the current version.
    --[no-]verbose         Noisy logging, including all shell commands executed.

Available commands:
  config   ai_commit configuration
  update   Update the CLI.

Run "ai_commit help <command>" for more information about a command.
ai_commit config

Save data configuration and use later.

ai_commit configuration

Usage: ai_commit config [arguments]
-h, --help                 Print this usage information.
    --key                  OpenAI API key.
    --locale               Set locale language.
    --count                Generate commit message count.
    --[no-]conventional    Format the commit message according to the Conventional Commits specification.
    --model                Set model name for OpenAI API.
    --max-length           Set max length of commit message.

Run "ai_commit help" to see global options.

Usage

Before using you need to set OpenAI API key

ai_commit config --key sk-xxx

Generate commit message

ai_commit

Add all files and generate a commit message

ai_commit -a

Count of messages to generate (Warning: generating multiple costs more)

# one time use
ai_commit -c 2

# save data to config
ai_commit config -c 2

OpenAI model to use for generation

# one time use
ai_commit -m gpt-3.5-turbo-1106

# save data to config
ai_commit config -m gpt-3.5-turbo-1106

Files to exclude from AI analysis

# single
ai_commit -x test.dart

# multiple
ai_commit -x one.dart, two.dart

Max length of commit message

# one time use
ai_commit -l 200

# save data to config
ai_commit config -l 200

Locale language for commit message

# one time use
ai_commit --locale en

# save data to config
ai_commit config --locale en

Format the commit message according to the Conventional Commits specification.

# one time use
ai_commit --conventional

# save data to config
ai_commit config --conventional

Disable Conventional Commits Format

ai_commit --no-conventional

# save data to config
ai_commit config --no-conventional

카테고리

의존성

의존성 목록 7 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.