56
57
58
59
60
61
62
63
64
65
66
|
# File 'lib/kettle/family/cli.rb', line 56
def self.included(base)
base.option :commit, desc: "Allow workflow commands that change files to commit"
base.option :no_commit, long: "--no-commit", desc: "Skip automatic commits after mutating workflow commands" do
options[:commit] = false
end
base.option :allow_dirty, long: "--allow-dirty", desc: "Reserved for compatibility; member repos manage their own commit safety"
base.option :autostash, long: "--autostash", desc: "Use the default template autostash behavior"
base.option :no_autostash, long: "--no-autostash", desc: "Fail template runs when a member worktree is dirty" do
options[:autostash] = false
end
end
|