Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Casks/o/officecli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: strict
# frozen_string_literal: true

Comment on lines +1 to +3
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# typed: strict
# frozen_string_literal: true

cask "officecli" do
arch arm: "arm64", intel: "x64"

version "1.0.39"
sha256 arm: "2d8a91f273bba272d90c73fa65465cb24f15757b7c75b744800478ae0f004886",
intel: "b104747e0c4afc2beb8d182ea64b4be12b379d8232a4b14967307f5c704b0d4f"

url "https://github.com/iOfficeAI/OfficeCLI/releases/download/v#{version}/officecli-mac-#{arch}",

Check failure on line 11 in Casks/o/officecli.rb

View workflow job for this annotation

GitHub Actions / test officecli (macos-26, arm)

GitHub repository too new (<30 days old)

Check failure on line 11 in Casks/o/officecli.rb

View workflow job for this annotation

GitHub Actions / test officecli (macos-15-intel, intel)

GitHub repository too new (<30 days old)

Check failure on line 11 in Casks/o/officecli.rb

View workflow job for this annotation

GitHub Actions / test officecli (macos-14, intel)

GitHub repository too new (<30 days old)

Check failure on line 11 in Casks/o/officecli.rb

View workflow job for this annotation

GitHub Actions / test officecli (macos-14, arm)

GitHub repository too new (<30 days old)

Check failure on line 11 in Casks/o/officecli.rb

View workflow job for this annotation

GitHub Actions / test officecli (macos-15, arm)

GitHub repository too new (<30 days old)

Check failure on line 11 in Casks/o/officecli.rb

View workflow job for this annotation

GitHub Actions / test officecli (macos-26, intel)

GitHub repository too new (<30 days old)
verified: "github.com/iOfficeAI/OfficeCLI/"
name "OfficeCLI"
desc "CLI tool for AI agents to read, edit, and automate Office documents"
homepage "https://www.officecli.ai/"

livecheck do
url :url
strategy :github_latest
end

Comment on lines +17 to +21
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The livecheck stanza is likely unnecessary, as the upstream repository does not seem to utilise GitHub pre-releases or have tags without releases. The default livecheck should suffice.

Suggested change
livecheck do
url :url
strategy :github_latest
end

auto_updates true
container type: :naked
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tried without the container stanza, it should be automatically detected.


binary "officecli-mac-#{arch}", target: "officecli"

# No zap needed — config lives in ~/.officecli/ but is shared with non-brew installs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should still be included in the zap stanza.
A user only adds --zap to brew uninstall if they desire to remove all preference/config files from the application on uninstall.

end
Loading