Class: Middleman::Cli::Diff

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/middleman-diff/cli.rb

Overview

Extension to the Middleman CLI

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Whether to exit with status 1 when a failure happens

Returns:

  • (Boolean)


14
15
16
# File 'lib/middleman-diff/cli.rb', line 14

def self.exit_on_failure?
  true
end

Instance Method Details

#diffvoid

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."