Fluxion::CLI::LintCommand
Inherits Fluxion::CLI::Command < Reference < Object
fluxion lint — profile quality and safety advice.
Deliberately separate from validate: validation answers "would this run",
which is a yes/no with an exit code. Lint answers "is this a good profile",
which is advice and never fails the command.
Constants
DESTRUCTIVE = /\brm\s+-[a-z]*[rf]|\bmkfs\b|\bdd\s+if=|>\s*\/dev\/[sn]d/
EMBEDDED_SUDO = /(^|\s)sudo\s/
PIPE_TO_SHELL = /\b(curl|wget)\b[^|]*\|\s*(sudo\s+)?(ba|z|)sh\b/
Instance methods
name
Sourcesummary
Sourceusage
Source