https://github.com/uphy/alfred-snippet-builder
https://github.com/uphy/alfred-snippet-builder
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uphy/alfred-snippet-builder
- Owner: uphy
- Created: 2021-11-09T23:36:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-09T23:53:50.000Z (over 4 years ago)
- Last Synced: 2024-06-20T06:22:55.693Z (about 2 years ago)
- Language: Go
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alfred Snippets Builder
```go
package main
import "github.com/uphy/alfred-snippet-builder"
func main() {
s := snippet.New("prefix", "suffix")
s.Add("name", "snippet", "keyword")
if err := s.Save("sample.alfredsnippets"); err != nil {
panic(err)
}
}
```