pub enum OutputFormat {
Show 13 variants
Human,
Json,
Sarif,
Compact,
Markdown,
CodeClimate,
PrCommentGithub,
PrCommentGitlab,
ReviewGithub,
ReviewGitlab,
Badge,
GithubAnnotations,
GithubSummary,
}Expand description
Output format for fallow results.
This is command-line and integration metadata, not stored in config files.
Keeping it in fallow-types lets config, output, CLI, MCP, and API layers
agree on the same contract without creating a config-to-output dependency.
Variants§
Human
Human-readable terminal output with source context.
Json
Machine-readable JSON.
Sarif
SARIF format for GitHub Code Scanning.
Compact
One issue per line (grep-friendly).
Markdown
Markdown for PR comments.
CodeClimate
CodeClimate JSON for GitLab Code Quality.
CLI aliases: codeclimate, gitlab-codequality, gitlab-code-quality.
PrCommentGithub
GitHub-flavored sticky PR comment markdown.
PrCommentGitlab
GitLab-flavored sticky MR comment markdown.
ReviewGithub
GitHub PR review JSON envelope.
ReviewGitlab
GitLab MR review JSON envelope.
Badge
Shields.io-compatible SVG badge (health command only).
GithubAnnotations
GitHub Actions workflow-command annotations (::error / ::warning /
::notice lines). Provider-prefixed name because workflow-command
annotations are a GitHub-only concept with no GitLab twin.
GithubSummary
GitHub Actions job-summary markdown (for >> $GITHUB_STEP_SUMMARY).
Provider-prefixed for the same reason as GithubAnnotations.
Implementations§
Source§impl OutputFormat
impl OutputFormat
Sourcepub const fn flag_label(self) -> &'static str
pub const fn flag_label(self) -> &'static str
The --format spelling of this variant.
Notes that name the format a run degraded on have to name it the way the
user would pass it, so the sentence doubles as the fix. codeclimate is
the canonical spelling of the aliased GitLab Code Quality format.
Trait Implementations§
Source§impl Clone for OutputFormat
impl Clone for OutputFormat
Source§fn clone(&self) -> OutputFormat
fn clone(&self) -> OutputFormat
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more