-
-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1556 from Homebrew/cmd-typed-strict
Bump `cmd`s to Sorbet `typed: strict`
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# typed: strict | ||
|
||
class Homebrew::Cmd::BundleCmd | ||
sig { returns(Homebrew::Cmd::BundleCmd::Args) } | ||
def args; end | ||
end | ||
|
||
class Homebrew::Cmd::BundleCmd::Args < Homebrew::CLI::Args | ||
sig { returns(T::Boolean) } | ||
def all?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def brews?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def cask?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def casks?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def cleanup?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def describe?; end | ||
|
||
sig { returns(T.nilable(String)) } | ||
def file; end | ||
|
||
sig { returns(T::Boolean) } | ||
def force?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def formula?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def global?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def mas?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def no_lock?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def no_restart?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def no_upgrade?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def no_vscode?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def tap?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def taps?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def verbose?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def vscode?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def whalebrew?; end | ||
|
||
sig { returns(T::Boolean) } | ||
def zap?; end | ||
end |