drone repo info

This subcommand prints the named repository details.


NAME:
   drone repo info - show repository details

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

OPTIONS:
   --format value  format output (default: "Owner: {{ .Owner }}\nRepo: {{ .Name }}\nType: {{ .Kind }}\nConfig: {{ .Config }}\nVisibility: {{ .Visibility }}\nPrivate: {{ .IsPrivate }}\nTrusted: {{ .IsTrusted }}\nGated: {{ .IsGated }}\nRemote: {{ .Clone }}\n")
   


Example usage:

$ drone repo info octocat/hello-world

Owner: octocat
Repo: hello-world
Type: git
Private: false
Remote: https://github.com/octocat/hello-world.git

Format the output using a custom Go template:

$ drone repo info --format="{{ .Link }}" octocat/hello-world

https://github.com/octocat/hello-world.git

Is there a mistake on this page? Please let us know or edit this page.