Package-level declarations

Types

Link copied to clipboard
class CodyzeCli(val configFile: Path?) : NoOpCliktCommand

Main CliktCommand. Provides the common Codyze options. Each executor must provide a CliktCommand that is registered as a subcommand on CodyzeCli.

Link copied to clipboard
class CodyzeOptionGroup : OptionGroup
Link copied to clipboard
class ConfigFileParser : CliktCommand

A CliktCommand to parse the --config option.

Link copied to clipboard
class JsonValueSource(filePath: Path, root: JsonObject) : ValueSource

A ValueSource that uses Kotlin serialization to parse JSON config files as context to Clikt commands.

Properties

Link copied to clipboard
val backendCommands: Module

Every Backend must provide BackendCommand to be selectable in the CLI.

Link copied to clipboard
val executorCommands: Module

Each Executor must provide a ExecutorCommand to be selectable in the CLI.

Link copied to clipboard
val outputBuilders: Module

List all available OutputBuilders. They convert the internally used SARIF format into the final output.

Link copied to clipboard
val plugins: List<Module>

List all available Plugins. They use external tools to extend the analysis.

Functions

Link copied to clipboard
fun CliktCommand.configFileOption(): OptionWithValues<Path, Path, Path>

The Clikt option for the config file. Defined as extension function because it is used in multiple CliktCommands.

Link copied to clipboard
fun main(args: Array<String>)

Entry point for Codyze.