plugger

command
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0, BSD-3-Clause Imports: 6 Imported by: 0

README

Plugger

Searches for not registered plugins: a plugin is a struct that implements a given interface.

Usage

~ plugger -h
Usage of plugger /Users/just-hms/Library/Caches/go-build/06/06e00c874d5c5bb1e000de272e366cc65ebb32de196cc669944035eba56dfbc5-d/main:
  -exclude-pkg string
      regex pattern for pkg to exclude, ex: 'github\.com/package/testing/.*' (default "a^")
  -interface string
      regex pattern for plugin interfaces, ex: 'github\.com/package.MyInterface|.*\.OtherInterface'
Exclude plugins

Also excluding a plugin directly is possible, just add a //nolint:plugger directive

// Extractor extracts python packages from requirements.txt files.
//
//nolint:plugger: This plugin will be removed shortly
type Extractor struct {
  resolve.Client
  BaseExtractor *requirements.Extractor // The base extractor that we use to extract direct dependencies.
}

Documentation

Overview

The plugger command is used to flag plugins which are not registered

Directories

Path Synopsis
Package plugger contain the logic to find un-registered plugins
Package plugger contain the logic to find un-registered plugins

Jump to

Keyboard shortcuts

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