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.11.tar.gz (23.9 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.11-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fown-0.1.11.tar.gz
  • Upload date:
  • Size: 23.9 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.11.tar.gz
Algorithm Hash digest
SHA256 ec78f7bd0af5de1babe1983df559801c61d4ecd2fbf2427adb54ca317ee43aa4
MD5 f32b46af5dcc193bc2ab8222146d6094
BLAKE2b-256 009c0544f36bd99bce98c75dcb70075761a3ed087039bc08c71fe58c00536a84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fown-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 32.5 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 e791323b5892b4a12b1d1f6baeef059b80979f6ba09b5a2d93be3ad6b6861433
MD5 232f4c4eed66608458ca34e35d543de2
BLAKE2b-256 b611596aa4e4d3d417da2ebd5bf68b01a5d6b653abbb7045932b29ed9792f71e

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