这个子命令返回用户仓库列表。
NAME:
drone repo ls - list all repos
USAGE:
drone repo ls [command options] [arguments...]
OPTIONS:
--format value format output (default: "{{ .FullName }}")
--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