// Package fetch holds the fetcher commands: "fts-once" fetches from Find a // Tender once and prints the releases, and "service" polls every enabled // source on its interval. package fetch import ( "github.com/spf13/cobra" "git.avsdev.uk/Go/job-search/internal/cli" ) // NewCommands returns the fetcher commands, "fts-once" and "service". func NewCommands(opts *cli.Options) []*cobra.Command { return []*cobra.Command{ commandFTSOnce(opts), commandService(opts), } }