Documentation
¶
Overview ¶
Package remotejson provides an input plugin for fetching colour palettes from remote JSON sources with JSONPath queries.
Index ¶
- type Plugin
- func (p *Plugin) Description() string
- func (p *Plugin) Generate(ctx context.Context, opts input.GenerateOptions) (*colour.Palette, error)
- func (p *Plugin) GetFlagHelp() []input.FlagHelp
- func (p *Plugin) Name() string
- func (p *Plugin) RegisterFlags(cmd *cobra.Command)
- func (p *Plugin) Validate() error
- func (p *Plugin) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements the input.Plugin interface for remote JSON palette fetching with JSONPath queries.
func (*Plugin) Description ¶
Description returns the plugin description.
func (*Plugin) GetFlagHelp ¶
GetFlagHelp returns help information for all plugin flags.
func (*Plugin) RegisterFlags ¶
RegisterFlags registers plugin-specific flags with the cobra command.
Click to show internal directories.
Click to hide internal directories.