AmebaConfig
Constants
HELP = "Usage: ameba-config <command> [options] [arguments]\n\nCommands:\n create [--profile NAME|PATH] Create .ameba.yml at the git repo root\n update [--profile NAME|PATH] Merge missing rules/settings from a template\n generate Write a fully-commented ~/.config/ameba-config/default.yml\n list [filters] List rules and whether they are enabled (asterisk\n marks enabled rules with non-default settings)\n enable RULE Enable a rule (sets Enabled: true)\n disable RULE Disable a rule (sets Enabled: false)\n set RULE KEY=VALUE... Override one or more rule settings\n reset RULE KEY... Reset settings back to ameba's defaults\n globs [list|set|add|remove|clear] [PATTERN...]\n Manage the top-level Globs list\n excluded [list|set|add|remove|clear] [PATH...]\n Manage the top-level Excluded list\n help Show this help\n\nOptions:\n --profile NAME|PATH Profile to use as the template:\n - looked up as ~/.config/ameba-config/NAME.yml\n - then treated as a path (relative or absolute)\n Defaults to \"default\".\n --path PATH Override the .ameba.yml location (default: git repo root)\n --ameba PATH Use a specific ameba binary\n (default: /opt/homebrew/bin/ameba)\n --version Print version\n --help, -h Show this help\n\n`list` filters (combine an enabled-status filter with a customization filter):\n --enabled Show only enabled rules (default)\n --disabled Show only disabled rules\n --all Show every rule regardless of enabled status\n --default Show only rules whose settings match ameba's defaults\n --not-default Show only rules with at least one non-default setting\n --color WHEN Force color output: always | auto (default) | never\n --no-color Shorthand for --color never\n\nExamples:\n ameba-config create\n ameba-config create --profile strict\n ameba-config update\n ameba-config generate\n ameba-config list --disabled\n ameba-config list --all --not-default\n ameba-config set Layout/LineLength MaxLength=120\n ameba-config globs add 'src/**/*.cr' 'spec/**/*.cr'\n ameba-config excluded add 'lib/' 'tmp/'\n ameba-config enable Style/VerboseBlock\n ameba-config set Metrics/CyclomaticComplexity MaxComplexity=20\n ameba-config reset Metrics/CyclomaticComplexity MaxComplexity"
PROFILE_SUBDIR = "ameba-config"
VERSION = "0.1.0"