posh-providers/dreadl0ck/zeus
2023-12-05 14:10:17 +01:00
..
command.go feat: update tools 2023-05-25 10:03:43 +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