---
title: "Discussion on \"Passing Options to Homebrew Formula\" | Hashnode"
description: "Discussion on \"Passing Options to Homebrew Formula\". Homebrew Formula can receive options via command-line arguments.  \nWanted to compile and install code from a private repo and Devs may use ssh or https in their local machines. So added an option to toggle the url/remote:  \n# Formula/infractl.rb\nclas..."
url: "https://hashnode.com/posts/passing-options-to-homebrew-formula/6706d227f296582691aed840"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Passing Options to Homebrew Formula](https://arunvelsriram.dev/passing-options-to-homebrew-formula?utm_source=hashnode&utm_medium=feed)

Homebrew Formula can receive options via command-line arguments. Wanted to compile and install code from a private repo and Devs may use ssh or https in their local machines. So added an option to toggle the url/remote: # Formula/infractl.rb clas...

Jul 22, 2024 · 1 min read · arunvelsriram.dev  
Read the article

-   [#til](https://hashnode.com/tag/til)
-   [#todayilearned](https://hashnode.com/tag/todayilearned)
-   [#homebrew](https://hashnode.com/tag/homebrew)
-   [#command-line](https://hashnode.com/tag/command-line)
-   [#cli](https://hashnode.com/tag/cli)
-   [#brew](https://hashnode.com/tag/brew)

## Written by

[Arunvel Sriram](https://hashnode.com/@arunvelsriram)

@arunvelsriram · Chennai, Tamil Nadu, India

  
[View profile](https://hashnode.com/@arunvelsriram)

Engineering @ Equal Experts | Ex-Thoughtworks | DevOps | Polyglot | Backend | Open Source

Engineering @ Equal Experts | Ex-Thoughtworks | DevOps | Polyglot | Backend | Open Source

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
