Merge pull request #1313 from emmceemoore/patch-1

Configure the CLI to exit non-zero on failures.
This commit is contained in:
Donal McBreen
2025-01-17 08:31:58 +00:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ module Kamal::Cli
class Base < Thor
include SSHKit::DSL
def self.exit_on_failure?() false end
def self.exit_on_failure?() true end
def self.dynamic_command_class() Kamal::Cli::Alias::Command end
class_option :verbose, type: :boolean, aliases: "-v", desc: "Detailed logging"