posh-providers/dreadl0ck/zeus
Kevin Franklin Kim 2ac4f35ff5
feat: clear cache
2025-04-04 16:45:12 +02:00
..
command.go feat: clear cache 2025-04-04 16:45:12 +02:00
README.md docs: simplify docs 2023-12-05 14:10:17 +01:00

POSH Zeus provider

Usage

Plugin

package plugin

type Plugin struct {
	l        log.Logger
	c        cache.Cache
	commands command.Commands
}

func New(l log.Logger) (plugin.Plugin, error) {
	inst := &Plugin{
		l:        l,
		c:        cache.MemoryCache{},
		commands: command.Commands{},
	}

	// ...

  inst.commands.Add(zeus.NewCommand(l, inst.c))

	// ...

	return inst, nil
}

Ownbrew

To install binary locally, add:

ownbrew:
  packages:
    - name: zeus
      tap: foomo/tap/dreadl0ck/zeus
      version: 0.9.11