Class: Middleman::Cli::Diff
- Inherits:
-
Thor
- Object
- Thor
- Middleman::Cli::Diff
- Includes:
- Thor::Actions
- Defined in:
- lib/middleman-diff/cli.rb
Overview
Extension to the Middleman CLI
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Whether to exit with status 1 when a failure happens.
Instance Method Summary collapse
-
#diff ⇒ void
Interactively diff a preview with the build, optionally replacing the existing build with it.
Class Method Details
.exit_on_failure? ⇒ Boolean
Whether to exit with status 1 when a failure happens
14 15 16 |
# File 'lib/middleman-diff/cli.rb', line 14 def self.exit_on_failure? true end |
Instance Method Details
#diff ⇒ void
This method returns an undefined value.
Interactively diff a preview with the build, optionally replacing the existing build with it.
22 |
# File 'lib/middleman-diff/cli.rb', line 22 desc 'diff', "Preview what's changed in the build." |