safe-chains 0.167.0

Auto-allow safe bash commands in agentic coding tools
Documentation
[[command]]
name = "swiftlint"
description = "Linter and style checker for Swift source code, enforcing configurable rules from the Swift style guide. The lint and analyze subcommands are read-only — they parse source files and report violations without modification. The autocorrect / fix subcommand rewrites files in place to fix violations (write operation). rules and reporters list available rules and output formats (read-only). No network access. Releases are periodic, roughly every 1-3 months, with new rules added regularly; rule flag coverage should be reviewed after upgrades."
url = "https://github.com/realm/SwiftLint"
bare_flags = ["--help", "--version", "-V", "-h"]

[[command.sub]]
name = "analyze"
level = "SafeRead"
standalone = ["--help", "--quiet", "--strict", "-h"]
valued = ["--compiler-log-path", "--config", "--path", "--reporter"]

[[command.sub]]
name = "lint"
level = "SafeRead"
standalone = ["--help", "--no-cache", "--quiet", "--strict", "-h"]
valued = ["--config", "--path", "--reporter"]

[[command.sub]]
name = "reporters"
standalone = ["--help", "-h"]

[[command.sub]]
name = "rules"
standalone = ["--disabled", "--enabled", "--help", "-h"]
valued = ["--config", "--reporter"]

[[command.sub]]
name = "version"
standalone = ["--help", "-h"]