providers

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "providers",
	Aliases: []string{"p", "pr", "prov", "provider"},
	Short:   "List EOSDIS providers and general collection metadata",
	Long: `List metadata on providers and their collections. 

This is mostly useful for to discover provider names. Once you have a provider name it 
is generally easier and faster to use the collections command.

NOTE: This downloads a large JSON database from CMR and the initial download can 
sometimes take a long time. The result is cached for 30d after initial download.
`,
	RunE: func(cmd *cobra.Command, args []string) error {
		names, err := cmd.Flags().GetStringSlice("name")
		failOnError(err)

		if err := do(names); err != nil {
			log.Fatalf("failed! %s", err)
		}

		return nil
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL