Skip to main content

Lint

cmd/crewship/cmd_lint.go is read-only static analysis over the user’s local CLI footprint. Catches the boring class of mistakes that block AI workflows but don’t surface as runtime errors:
  • cli-config.yaml uses a removed or typo’d key
  • A prompt-library file has an invalid name (would fail at crewship prompt use)
  • A prompt-library file is empty (probably accidental)
  • The markdown config value isn’t auto|on|off
Goal: catch at lint time, not at ask time. Never modifies anything.

crewship lint

Exit code is non-zero when at least one error is found (warnings don’t fail the run by default), so safe to wire into shell init scripts.

Examples

Output

Checks

See also