Skip to main content

Tiny Python CLI to automate GitHub labels and projects.

Project description

fown

GitHub CLI를 활용하여 GitHub 레이블과 프로젝트를 자동화하는 작은 Python CLI 도구입니다.

목차

설치 방법

uvx를 이용한 사용방법

# 모든 레이블 삭제
uvx fown labels clear-all

# 기본 레이블 추가
uvx fown labels apply

pip을 통한 설치

pip install fown

사용 방법

아카이브 레포지토리 생성

# 기본: private 레포지토리 생성
fown make-fown-archive

# public 레포지토리 생성
fown make-fown-archive --public

레이블 동기화

# 기본 레이블로 동기화
fown labels sync

# 아카이브 레포지토리에서 동기화
fown labels sync --archive

# gist url 로 동기화
fown labels sync --gist-url https://gist.github.com/bamjun/09cdc4efefb7abb58717025aa2ba3cfc#file-backend_github_labels-json

스크립트 관리

# 스크립트 실행
fown script use

# 스크립트 추가 (.sh 파일만 지원)
fown script add <script-file.sh>

# 스크립트 다운로드
fown script load

# 스크립트 삭제
fown script delete

파일 관리

# 파일 추가
fown file add <파일이름 or 폴더이름>

# 파일 다운로드
fown file load

# 파일 삭제
fown file delete

기능

  • GitHub 레이블 생성, 업데이트, 동기화
  • GitHub 프로젝트 자동 관리
  • 설정 파일을 통한 일괄 작업
  • 빠르고 간단한 설정
  • GitHub CLI (gh) 기반 동작

auth

  • GitHub 인증

  • Github login
# Github 로그인
fown auth login
  • Github logout
# Github 로그아웃
fown auth logout
  • 인증 상태
# 로그인 상태
fown auth status

file

  • 기본 레포지토리에서 파일 관리

# 기본 레포지토리에 파일저장
fown file add <filename>
# 기본 레포지토리에서 파일 다운로드
fown file load
# 기본 레포지토리에서 파일삭제
fown file delete

make-fown-archive

  • 로그인한 유저의 깃허브 레포지토리에 기본 레포지토리 생성

# 기본 레포지토리 생성
fown make-fown-archive

요구사항

  • Python 3.12 이상

문서

라이선스

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fown-0.1.12.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fown-0.1.12-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file fown-0.1.12.tar.gz.

File metadata

  • Download URL: fown-0.1.12.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for fown-0.1.12.tar.gz
Algorithm Hash digest
SHA256 1d7448fe2a0ef4a9fada0ed45e16f8590e02d0d9b0e94ef32e9e951d94c6b9a2
MD5 2f8659a7c165e5413b1ccb0b7353a580
BLAKE2b-256 95b014dbd40972bb0e9e1a81788240110f372dfdbb418fde9d96bd804b41268b

See more details on using hashes here.

File details

Details for the file fown-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: fown-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for fown-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 28b4059c23d8eda12feaeb57399333beb134e1032c2c42972ceb386f052432e5
MD5 10f9acf8186091fad28d6cd0d30c1a4e
BLAKE2b-256 dcf968ff7670b538228ca4a51797d1636924c8471cf6196a1e727fcb54195347

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page