본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

drone repo ls

원문 보기 위키 갱신

이 서브커맨드는 사용자 저장소의 전체 목록을 반환합니다.

출처: Drone CI Docs

본문

NAME:
   drone repo ls - list all repos

USAGE:
   drone repo ls [command options] [arguments...]

OPTIONS:
   --format value  format output
   --org value     filter by organization

사용 예시:

$ drone repo ls

octocat/hello-world
octocat/fork-spoon
github/gitignore
github/hubot
github/hub

조직으로 출력을 필터링:

$ drone repo ls --org=github

github/gitignore
github/hubot
github/hub

커스텀 Go 템플릿으로 출력 형식 지정:

$ drone repo ls --format="{{ .Link }}"

https://github.com/octocat/hello-world
https://github.com/octocat/fork-spoon
https://github.com/github/gitignore
https://github.com/github/hubot
https://github.com/github/hub