Class: Packs::Private::InteractiveCli::UseCases::LintPackageYmlFiles
- Inherits:
-
Object
- Object
- Packs::Private::InteractiveCli::UseCases::LintPackageYmlFiles
- Extended by:
- T::Helpers, T::Sig
- Includes:
- Interface
- Defined in:
- lib/packs/private/interactive_cli/use_cases/lint_package_yml_files.rb
Instance Method Summary collapse
Methods included from Interface
Instance Method Details
#perform!(prompt) ⇒ Object
13 14 15 16 |
# File 'lib/packs/private/interactive_cli/use_cases/lint_package_yml_files.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') Packs.lint_package_yml_files!(packs) end |
#user_facing_name ⇒ Object
19 20 21 |
# File 'lib/packs/private/interactive_cli/use_cases/lint_package_yml_files.rb', line 19 def user_facing_name 'Lint packs/*/package.yml for one or more packs' end |