Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUCCESS_PROMPT = "success" ERRORED_PROMPT = "errored" )
View Source
const ( GITHUB_DOMAIN = "github.com" GITHUB_RAW_DOMAIN = "raw.githubusercontent.com" README_MD = "README.md" EXTENSION_MD = ".md" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LineHandler ¶
type LineHandler struct {
// contains filtered or unexported fields
}
func NewLineHandler ¶
func NewLineHandler() *LineHandler
type PromptHandler ¶
type PromptHandler struct {
// contains filtered or unexported fields
}
func NewPromptHandler ¶
func NewPromptHandler(prompts []string) *PromptHandler
func (*PromptHandler) ClearColoredPrompts ¶
func (h *PromptHandler) ClearColoredPrompts()
func (*PromptHandler) Execute ¶
func (h *PromptHandler) Execute() error
func (*PromptHandler) GetColoredPrompts ¶
func (h *PromptHandler) GetColoredPrompts() []string
func (*PromptHandler) MultiSelect ¶
func (h *PromptHandler) MultiSelect() []string
type ReadmeHandler ¶
type ReadmeHandler struct { ReadmePath string Tag string // contains filtered or unexported fields }
func NewReadmeHandler ¶
func NewReadmeHandler(readmePath string, tag string) *ReadmeHandler
func (*ReadmeHandler) Codelines ¶
func (h *ReadmeHandler) Codelines() []string
type StorageHandler ¶
type StorageHandler struct { }
func NewStorageHandler ¶
func NewStorageHandler() *StorageHandler
func (*StorageHandler) Delete ¶
func (h *StorageHandler) Delete(key string) error
func (*StorageHandler) Set ¶
func (h *StorageHandler) Set(key, value string) error
type URLHandler ¶
type URLHandler struct {
// contains filtered or unexported fields
}
func NewURLHandler ¶
func NewURLHandler() *URLHandler
func (*URLHandler) IsRemotePath ¶
func (h *URLHandler) IsRemotePath(path string) bool
Click to show internal directories.
Click to hide internal directories.