Skip to content
19 changes: 19 additions & 0 deletions .github/workflows/penify-auto-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will improvise current file with AI genereated documentation and Create new PR

name: Penify - Revolutionizing Documentation on GitHub

on:
push:
branches: ["main"]
workflow_dispatch:

jobs:
Documentation:
runs-on: ubuntu-latest
steps:
- name: Penify DocGen Client
uses: Penify-dev/penifydocwf@v1.0.0
with:
client_id: ${{ secrets.SNORKELL_CLIENT_ID }}
api_key: ${{ secrets.SNORKELL_API_KEY }}
branch_name: "main"
34 changes: 34 additions & 0 deletions quix-cli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
class QuixCli < Formula
desc "Quix CLI"
homepage "https://github.com/quixio/quix-cli"
version "1.4.2" # Or specify a specific version if desired
license "MIT"

# Define the URLs for the binaries based on architecture
if Hardware::CPU.intel?
url "https://github.com/quixio/quix-cli/releases/download/1.4.2/osx-x64.tar.gz"
sha256 "b668dea36e781ac1f5c5abbe992a671d27a43a91d398b8177e35f6c219c43cec"
elsif Hardware::CPU.arm?
url "https://github.com/quixio/quix-cli/releases/download/1.4.2/osx-arm64.tar.gz"
sha256 "60212915acd2a79d5d2a50245d00c2b76f99faec913b66012e92adb4db47ed69"
else
odie "Unsupported architecture"
end

def install
bin.install "quix" # Installs the binary into the Homebrew bin folder
end

def post_install
# Any post-installation actions like signing the binary
if OS.mac?
system "codesign", "-s", "-", "#{bin}/quix"
end
end

test do
# Basic test to verify installation
system "#{bin}/quix", "--version"
end
end