dev-cmd/bump: change args type to CLI::Args

Signed-off-by: Michael Cho <michael@michaelcho.dev>
This commit is contained in:
Michael Cho 2024-03-06 11:12:32 -05:00
parent d55fa09d1e
commit 030980164d
No known key found for this signature in database
GPG Key ID: 55E85E28A7CD1E85
2 changed files with 11 additions and 2 deletions

View File

@ -207,6 +207,15 @@ module Homebrew
sig { returns(T::Boolean) }
def fail_if_not_changed?; end
sig { returns(T::Boolean) }
def no_pull_requests?; end
sig { returns(T::Boolean) }
def no_fork?; end
sig { returns(T::Boolean) }
def open_pr?; end
sig { returns(T.nilable(String)) }
def limit; end

View File

@ -309,7 +309,7 @@ module Homebrew
params(
formula_or_cask: T.any(Formula, Cask::Cask),
repositories: T::Array[T.untyped],
args: T.untyped,
args: CLI::Args,
name: String,
).returns(VersionBumpInfo)
}
@ -417,7 +417,7 @@ module Homebrew
formula_or_cask: T.any(Formula, Cask::Cask),
name: String,
repositories: T::Array[T.untyped],
args: T.untyped,
args: CLI::Args,
ambiguous_cask: T::Boolean,
).void
}