cli/pkg/cmd/repo
Mislav Marohnić c095a4bead Allow explicitly specifying the hostname for gh operations
Accept the "HOST/OWNER/REPO" syntax or passing a full URL for both the
`--repo` flag and the GH_REPO environment variable and allow setting
GH_HOST environment variable to override just the hostname for
operations that assume "github.com" by default.

Examples:

    $ gh repo clone example.org/owner/repo
    $ GH_HOST=example.org gh repo clone repo

    $ GH_HOST=example.org gh api user
    $ GH_HOST=example.org gh gist create myfile.txt

    $ gh issue list -R example.org/owner/repo
    $ gh issue list -R https://example.org/owner/repo.git
    $ GH_REPO=example.org/owner/repo gh issue list
2020-08-12 16:16:34 +02:00
..
clone Allow explicitly specifying the hostname for gh operations 2020-08-12 16:16:34 +02:00
create gh auth login 2020-08-06 12:43:35 -05:00
credits Merge remote-tracking branch 'origin' into ghe-api 2020-07-28 18:12:47 +02:00
fork Allow explicitly specifying the hostname for gh operations 2020-08-12 16:16:34 +02:00
view Allow explicitly specifying the hostname for gh operations 2020-08-12 16:16:34 +02:00
repo.go Provide consistent factory functions for top-level commands 2020-08-07 00:45:45 +02:00