drone repo ls

Updated 2 years ago by Admin

このサブコマンドは、ユーザーリポジトリの完全なリストを返します。

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


How did we do?