Class: Pact::CLI
- Inherits:
-
Thor
- Object
- Thor
- Pact::CLI
- Defined in:
- lib/pact/cli.rb
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Thor 1.0 deprecation guard.
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
Thor 1.0 deprecation guard
7 8 9 |
# File 'lib/pact/cli.rb', line 7 def self.exit_on_failure? # Thor 1.0 deprecation guard false end |
Instance Method Details
#docs ⇒ Object
39 40 41 42 43 |
# File 'lib/pact/cli.rb', line 39 def docs require 'pact/cli/generate_pact_docs' require 'pact/doc/generator' Pact::Doc::Generate.call([:pact_dir], [:doc_dir], [Pact::Doc::Markdown::Generator]) end |
#verify ⇒ Object
30 31 32 33 |
# File 'lib/pact/cli.rb', line 30 def verify require 'pact/cli/run_pact_verification' Cli::RunPactVerification.call() end |