mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
| .. | ||
| command.go | ||
| config_test.go | ||
| config.go | ||
| config.schema.json | ||
| README.md | ||
POSH License Finder provider
Usage
Plugin
func New(l log.Logger) (plugin.Plugin, error) {
// ...
inst.commands.Add(licensefinder.NewCommand(l, cache))
// ...
}
Config
licenseFinder:
logPath: .posh/logs/licenses.log
decisionsPath: .posh/licenses.yaml
sources:
- go.mod
- yarn.lock