Skip to content

feat: Expose CLI via Homebrew cask#12

Merged
GordonBeeming merged 1 commit intomainfrom
gb/cli-in-cask
Apr 2, 2026
Merged

feat: Expose CLI via Homebrew cask#12
GordonBeeming merged 1 commit intomainfrom
gb/cli-in-cask

Conversation

@GordonBeeming
Copy link
Copy Markdown
Owner

Summary

  • Embed CLI binary (insomnia-cli) inside Insomnia.app/Contents/MacOS/
  • Cask binary stanza symlinks it to insomnia in Homebrew's bin
  • After install, insomnia status works from terminal
  • Fixed skill file structure (directory + SKILL.md)

Test plan

  • brew install --cask gordonbeeming/tap/insomnia installs both app and CLI
  • insomnia status works from terminal
  • insomnia --help shows Dapple ASCII

- CLI binary now embedded as insomnia-cli inside Insomnia.app/Contents/MacOS/
- Cask binary stanza symlinks it to 'insomnia' in Homebrew bin
- Fixed skill file structure (directory + SKILL.md)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: GitButler <gitbutler@gitbutler.com>
@GordonBeeming GordonBeeming marked this pull request as ready for review April 2, 2026 12:29
Copilot AI review requested due to automatic review settings April 2, 2026 12:29
@GordonBeeming GordonBeeming merged commit c77a307 into main Apr 2, 2026
2 checks passed
@GordonBeeming GordonBeeming deleted the gb/cli-in-cask branch April 2, 2026 12:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the macOS release packaging flow so the Insomnia Homebrew cask can expose the CLI command directly from the installed .app bundle.

Changes:

  • Embed the built CLI binary into Insomnia.app/Contents/MacOS/ as insomnia-cli during release builds.
  • Update the generated Homebrew cask to symlink the embedded CLI to insomnia in Homebrew’s bin.
  • Fix the .claude skill frontmatter by adding the missing name field.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
Scripts/build-release.sh Copies the CLI binary into the app bundle (Contents/MacOS/insomnia-cli) during release artifact creation.
.github/workflows/build.yml Adds a cask binary stanza so Homebrew installs a terminal-accessible insomnia command from the app bundle.
.claude/skills/create-release/SKILL.md Adds name: create-release to the skill YAML frontmatter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants