Class: UsePackwerk::Private::InteractiveCli::UseCases::LintPackageYml
- Inherits:
-
Object
- Object
- UsePackwerk::Private::InteractiveCli::UseCases::LintPackageYml
- Extended by:
- T::Helpers, T::Sig
- Includes:
- Interface
- Defined in:
- lib/use_packwerk/private/interactive_cli/use_cases/lint_package_yml.rb
Instance Method Summary collapse
Methods included from Interface
Instance Method Details
#perform!(prompt) ⇒ Object
13 14 15 16 |
# File 'lib/use_packwerk/private/interactive_cli/use_cases/lint_package_yml.rb', line 13 def perform!(prompt) packs = PackSelector.single_or_all_pack_multi_select(prompt, question_text: 'Please select the packs you want to lint package.yml files for') UsePackwerk.lint_package_yml_files!(packs) end |
#user_facing_name ⇒ Object
19 20 21 |
# File 'lib/use_packwerk/private/interactive_cli/use_cases/lint_package_yml.rb', line 19 def user_facing_name 'Lint packs/*/package.yml for one or more packs' end |