Class: TypoChecker::CLI
- Inherits:
-
Thor
- Object
- Thor
- TypoChecker::CLI
- Defined in:
- lib/typo_checker/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
18 19 20 |
# File 'lib/typo_checker/cli.rb', line 18 def self.exit_on_failure? true end |
Instance Method Details
#scan(repo_path) ⇒ Object
13 14 15 16 |
# File 'lib/typo_checker/cli.rb', line 13 def scan(repo_path) checker = TypoChecker::Checker.new(paths: [:paths], excludes: [:excludes], skips: [:skips]) checker.scan_repo(repo_path) end |