lib/percy/cli.rb in percy-cli-1.2.9 vs lib/percy/cli.rb in percy-cli-1.3.0

- old
+ new

@@ -13,11 +13,11 @@ def say(*args) $terminal.say(*args) end def say_error(*args) - STDERR.puts *args + STDERR.puts(*args) end def run program :name, 'Percy CLI' program :version, Percy::Cli::VERSION @@ -44,9 +44,13 @@ 'Full GitHub repo slug (owner/repo-name). Defaults to the local git repo origin URL.' c.option \ '--snapshots_regex REGEX', String, 'Regular expression for matching the files to snapshot. Defaults to: "\.(html|htm)$"' + c.option \ + '--ignore_regex REGEX', + String, + 'Regular expression for matching the files NOT to snapshot. Default is nil.' c.option \ '--widths CSV', String, 'Comma-separated list of rendering widths for snapshots. Ex: 320,1280"' c.option \