Documentation
¶
Overview ¶
Package fork implements the repo fork command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForkOptions ¶
type ForkOptions struct {
IO *iostreams.IOStreams
HttpClient func() (*http.Client, error)
Config func() (config.Config, error)
ParseRepo func(string) (*git.Repo, error)
ForkRepo func(*api.Client, string, string) (*api.Repository, error)
CloneRepo func(*git.Repo, string, string, int) error
// Arguments
Repository string
// Flags
Clone bool
JSON bool
}
Source Files
¶
- fork.go
Click to show internal directories.
Click to hide internal directories.