Class: UsePackwerk::Private::InteractiveCli::UseCases::Validate

Inherits:
Object
  • Object
show all
Extended by:
T::Helpers, T::Sig
Includes:
Interface
Defined in:
lib/use_packwerk/private/interactive_cli/use_cases/validate.rb

Instance Method Summary collapse

Methods included from Interface

all, included

Instance Method Details

#perform!(prompt) ⇒ Object



18
19
20
# File 'lib/use_packwerk/private/interactive_cli/use_cases/validate.rb', line 18

def perform!(prompt)
  system('bin/packwerk validate')
end

#user_facing_nameObject



13
14
15
# File 'lib/use_packwerk/private/interactive_cli/use_cases/validate.rb', line 13

def user_facing_name
  'Run bin/packwerk validate (detects cycles)'
end