Module: Henitai::CLI::InitCommand
- Included in:
- Henitai::CLI
- Defined in:
- lib/henitai/cli/init_command.rb
Overview
Implements ‘henitai init`: writes a starter `.henitai.yml`, optionally prompting for the default RSpec integration when stdin is a TTY. Mixed into Henitai::CLI.
Constant Summary collapse
- INIT_TEMPLATE_LINES =
[ "# yaml-language-server: $schema=./assets/schema/henitai.schema.json", "includes:", " - lib", "mutation:", " operators: light", " timeout: 10.0", " max_flaky_retries: 3", " sampling:", " ratio: 0.05", " strategy: stratified", "reports_dir: reports", "thresholds:", " high: 80", " low: 60" ].freeze