Class: Packs::Private::InteractiveCli::UseCases::MakePublic
- Inherits:
-
Object
- Object
- Packs::Private::InteractiveCli::UseCases::MakePublic
- Extended by:
- T::Helpers, T::Sig
- Includes:
- Interface
- Defined in:
- lib/packs/private/interactive_cli/use_cases/make_public.rb
Instance Method Summary collapse
Methods included from Interface
Instance Method Details
#perform!(prompt) ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/packs/private/interactive_cli/use_cases/make_public.rb', line 18 def perform!(prompt) paths_relative_to_root = FileSelector.select(prompt) Packs.make_public!( paths_relative_to_root: paths_relative_to_root, per_file_processors: [Packs::RubocopPostProcessor.new, Packs::CodeOwnershipPostProcessor.new] ) end |
#user_facing_name ⇒ Object
13 14 15 |
# File 'lib/packs/private/interactive_cli/use_cases/make_public.rb', line 13 def user_facing_name 'Make files or directories public' end |