Class ScanCliCommand
- Namespace
- Kuestenlogik.Bowire.Security.Scanner.Cli
- Assembly
- Kuestenlogik.Bowire.Security.Scanner.dll
Discoverable CLI contribution for bowire scan. The Tool
project's BowireCli picks this up via
BowireCliCommandRegistry's assembly scan and attaches
the built command to its root — no hard ProjectReference / no
manual registration in the Tool wiring required.
Public so the assembly-scan registry can Activator.CreateInstance
it. Has no constructor parameters by design — CLI-plugin contracts
stay zero-config to keep the registry mechanism trivial.
public sealed class ScanCliCommand : IBowireCliCommand
- Inheritance
-
ScanCliCommand
- Implements
- Inherited Members
Constructors
ScanCliCommand()
public ScanCliCommand()
Properties
Id
Stable identifier for this subcommand — used by the
--disable-cli-command <id> flag so operators can
skip a contribution at startup. Convention: the subcommand
verb ("scan", "fuzz", "jwt", …) so it
matches what the user types.
public string Id { get; }
Property Value
Methods
Build()
Build a Command ready to attach to the root command. Invoked once during CLI bootstrap; the returned command is owned by the root and may not survive a process restart.
public Command Build()