Skip to main content
Version: Next

shellcheck CLI reference

ModularPipelines.Shellcheck provides strongly typed access to the shellcheck CLI.

Executable prerequisite

This package does not install the shellcheck executable. Install it separately and ensure shellcheck is available on PATH.

Follow the executable's official documentation for installation instructions.

Package installation

dotnet add package ModularPipelines.Shellcheck

Resolve the service with context.Tools.Shellcheck. For projects older than C# 14, import ModularPipelines.Shellcheck.Extensions and use the context.Shellcheck() extension method as a compatibility fallback.

Module example

Resolve the service in a module, then select a command from the table below. A runnable example is omitted when no command has complete safety metadata:

var shellcheck = context.Tools.Shellcheck;

Commands

CLI commandOptions record
shellcheckShellcheckExecuteOptions