Documentation
¶
Index ¶
- func CopySnippet(snippetName string)
- func DeleteSnippet(snippetName string)
- func EditSnippet(snippetName string)
- func EnsureSnippetsDir()
- func GetConfigDir() string
- func GetSnippetFilePath(snippetName string) string
- func GetSnippets() ([]string, error)
- func InteractiveMode()
- func OpenEditor(filePath string)
- func PrintSnippet(snippetName string)
- func PromptAction(snippetName string)
- func RunSnippet(snippetName string, extraArgs []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySnippet ¶
func CopySnippet(snippetName string)
func DeleteSnippet ¶
func DeleteSnippet(snippetName string)
func EditSnippet ¶
func EditSnippet(snippetName string)
func EnsureSnippetsDir ¶
func EnsureSnippetsDir()
func GetConfigDir ¶
func GetConfigDir() string
func GetSnippetFilePath ¶
func GetSnippets ¶
func InteractiveMode ¶
func InteractiveMode()
func OpenEditor ¶
func OpenEditor(filePath string)
func PrintSnippet ¶
func PrintSnippet(snippetName string)
func PromptAction ¶
func PromptAction(snippetName string)
func RunSnippet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.