Class: SkillBench::Cli::HelpPrinter
- Inherits:
-
Object
- Object
- SkillBench::Cli::HelpPrinter
- Defined in:
- lib/skill_bench/cli/help_printer.rb
Overview
Prints the CLI help/usage message.
Class Method Summary collapse
-
.call ⇒ Integer
Prints the help message and returns exit code 0.
Class Method Details
.call ⇒ Integer
Prints the help message and returns exit code 0.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/skill_bench/cli/help_printer.rb', line 10 def self.call providers = SkillBench::Clients::ProviderSchemas.names.map { |name| "--#{name}" }.join(', ') puts <<~USAGE Usage: skill-bench <subcommand> [options] Subcommands: init --<provider> [--force] Generate configuration file Providers: #{providers} --force Overwrite existing config file run <eval> --skill <name> [--skill <name>] [--format FORMAT] [--pack NAME] Run an evaluation (single eval, or a whole directory with --all) --skill Skill to use (can be specified multiple times) --pack Pack context for registry-based skill resolution --registry-manifest PATH Path to registry.json manifest --format Output format: human, json, junit, html (default: human) --all Run every eval under evals/ (batch mode) --evals-dir DIR Run every eval under DIR (batch mode) --summary Emit a JSON summary gate for a batch run (batch mode) compare <skill-name> --variant-a SPEC --variant-b SPEC --eval PATH Compare the same skill across two pack variants --variant-a First variant (e.g., "pack:rails" or "/path/to/skill") --variant-b Second variant (e.g., "pack:hanami") --eval Path to the eval directory skill new <name> [--mode MODE] [--template TYPE] Create a new skill --mode simple, advanced, or rails (default: simple) --template service_object, concern, active_record_model (default: service_object) eval new <name> [--runtime TYPE] Create a new eval --runtime rails, ruby, etc. (default: ruby) eval generate <skill-name> [--name <eval-name>] Auto-generate an eval from a skill --name Name for the generated eval (optional) validate (alias: doctor) [--criteria PATH] [--config PATH] Run read-only pre-flight checks (no eval, no network) --criteria Criteria JSON to validate (default: criteria.json) --config Config file to validate (default: skill-bench.json) Global Options: -h, --help Show this help message USAGE 0 end |