Skip to content
Draft
Show file tree
Hide file tree
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
39 changes: 39 additions & 0 deletions Formula/ctrlc.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# typed: false
# frozen_string_literal: true

class Ctrlc < Formula
desc "CLI for ctrlplane - A deployment orchestration tool"
homepage "https://github.com/ctrlplanedev/cli"
version "0.15.2"
license "MIT"

on_macos do
on_intel do
url "https://github.com/ctrlplanedev/cli/releases/download/v0.15.2/ctrlc_Darwin_x86_64.tar.gz"
sha256 "190a8f07698e6b9e9aaa4cbe2fcd041166852132832e9ec51349885aa820c17d"
end
on_arm do
url "https://github.com/ctrlplanedev/cli/releases/download/v0.15.2/ctrlc_Darwin_arm64.tar.gz"
sha256 "a3968b2dfbf3789044127b533cfefa8bca1231d37c9b069b49742296c7027f72"
end
end

on_linux do
on_intel do
url "https://github.com/ctrlplanedev/cli/releases/download/v0.15.2/ctrlc_Linux_x86_64.tar.gz"
sha256 "9a0b2bac9fc6d49de10e5de951116b89306024d826ba858f30d92167bfccf6d8"
end
on_arm do
url "https://github.com/ctrlplanedev/cli/releases/download/v0.15.2/ctrlc_Linux_arm64.tar.gz"
sha256 "27f7fdf29cb91d784f265125c980eae644d3f92ae42ee243b36d331e6b4512ad"
end
end

def install
bin.install "ctrlc"
end

test do
system "#{bin}/ctrlc", "version"
end
end
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# homebrew-tap
# homebrew-tap

Homebrew tap for ctrlplane CLI tools.

## Installation

### ctrlc

To install the `ctrlc` CLI:

```bash
brew tap ctrlplanedev/tap
brew install ctrlc
```

Or in one line:

```bash
brew install ctrlplanedev/tap/ctrlc
```

### Usage

After installation, verify it works:

```bash
ctrlc version
```

## About

This tap provides Homebrew formulae for ctrlplane tools:

- **ctrlc**: CLI for ctrlplane - A deployment orchestration tool that simplifies multi-cloud, multi-region, and multi-service deployments.

For more information, visit the [ctrlplane CLI repository](https://github.com/ctrlplanedev/cli).