Documentation
¶
Index ¶
- func EditContents(title, description string) string
- func EditTitleAndDesc(prefix, template string, editFunc func(program, file string) error) (string, string, error)
- func ParceRepositoryFullName(webURL string) string
- func SweepMarkdownComment(text string) string
- type BrowseMethod
- type BrowseOption
- type Method
- type MockMethod
- type ProjectProfileOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditContents ¶ added in v0.6.3
func EditTitleAndDesc ¶ added in v0.6.3
func ParceRepositoryFullName ¶ added in v0.6.0
func SweepMarkdownComment ¶
Types ¶
type BrowseMethod ¶ added in v0.6.3
type BrowseMethod struct {
Opener browse.URLOpener
Clipboard clipboard.Clipboard
Opt *BrowseOption
URL string
ID int
}
func (*BrowseMethod) Process ¶ added in v0.6.3
func (m *BrowseMethod) Process() (string, error)
type BrowseOption ¶ added in v0.6.3
type BrowseOption struct {
Browse bool `short:"b" long:"browse" description:"open browser"`
URL bool `short:"u" long:"url" description:"show browse url"`
Copy bool `short:"c" long:"copy" description:"copy browse url to clipboard"`
}
func (*BrowseOption) HasBrowse ¶ added in v0.6.3
func (b *BrowseOption) HasBrowse() bool
type MockMethod ¶ added in v0.6.0
type MockMethod struct{}
func (*MockMethod) Process ¶ added in v0.6.0
func (m *MockMethod) Process() (string, error)
type ProjectProfileOption ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.