cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm leaflet readability golang
at main 21 lines 499 B view raw
1//go:build !prod 2 3package tools 4 5import "github.com/spf13/cobra" 6 7// NewFetchCommand creates a parent command for fetching remote resources 8func NewFetchCommand() *cobra.Command { 9 cmd := &cobra.Command{ 10 Use: "fetch", 11 Short: "Fetch remote resources", 12 Long: `Fetch and synchronize remote resources from GitHub repositories. 13 14Includes commands for fetching lexicons, schemas, and other data files.`, 15 } 16 17 cmd.AddCommand(NewGHRepoCommand()) 18 cmd.AddCommand(NewLexiconsCommand()) 19 20 return cmd 21}