<commit_before>class InfluxdbCli < Formula
  desc "CLI for managing resources in InfluxDB v2"
  homepage "https://influxdata.com/time-series-platform/influxdb/"
  url "https://github.com/influxdata/influx-cli.git",
      tag:      "v2.4.0",
      revision: "5c7c34f16db858e1287cdfe162e6481a36f79145"
  license "MIT"
  head "https://github.com/influxdata/influx-cli.git", branch: "main"

  livecheck do
    url :stable
    regex(/^v?((?!9\.9\.9)\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f8ae8aef2a23d8629bceff829d677986fe60e75f5614bb533d1f9f561430b705"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "b9f84acce048d77e4db132fefffd1eade4b7d801b77ae4d6c6d4e732dd856068"
    sha256 cellar: :any_skip_relocation, monterey:       "f0af336eccd554caa46b01e1cd6aad071e573e3ff4fb790dfe5fea36de256e02"
    sha256 cellar: :any_skip_relocation, big_sur:        "01f723975010eb64195dd1c13f3692ab57f804d5b2ef4c373d8469ee8892914d"
    sha256 cellar: :any_skip_relocation, catalina:       "7bb26bec31006ac6c46f56ae2f51700643eb8ed0cf080ee19d5697525bbec5b2"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "e61fb05c5e7020ff10f3eb32a2894ab8d4387a8c2cb50fb3cafc3426de4a2b1f"
  end

  depends_on "go" => :build
  depends_on "influxdb" => :test

  def install
    ldflags = %W[
      -s
      -w<commit_msg>influxdb-cli 2.5.0<commit_after>class InfluxdbCli < Formula
  desc "CLI for managing resources in InfluxDB v2"
  homepage "https://influxdata.com/time-series-platform/influxdb/"
  url "https://github.com/influxdata/influx-cli.git",
      tag:      "v2.5.0",
      revision: "3285a03e9e28ea7dfad232be3b338291f30a61f5"
  license "MIT"
  head "https://github.com/influxdata/influx-cli.git", branch: "main"

  livecheck do
    url :stable
    regex(/^v?((?!9\.9\.9)\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f8ae8aef2a23d8629bceff829d677986fe60e75f5614bb533d1f9f561430b705"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "b9f84acce048d77e4db132fefffd1eade4b7d801b77ae4d6c6d4e732dd856068"
    sha256 cellar: :any_skip_relocation, monterey:       "f0af336eccd554caa46b01e1cd6aad071e573e3ff4fb790dfe5fea36de256e02"
    sha256 cellar: :any_skip_relocation, big_sur:        "01f723975010eb64195dd1c13f3692ab57f804d5b2ef4c373d8469ee8892914d"
    sha256 cellar: :any_skip_relocation, catalina:       "7bb26bec31006ac6c46f56ae2f51700643eb8ed0cf080ee19d5697525bbec5b2"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "e61fb05c5e7020ff10f3eb32a2894ab8d4387a8c2cb50fb3cafc3426de4a2b1f"
  end

  depends_on "go" => :build
  depends_on "influxdb" => :test

  def install
    ldflags = %W[
      -s
      -w
{'fraction_non_alphanumeric': 0.09900625690099374, 'fraction_numerical': 0.20868605079131394, 'mean_word_length': 4.84516129032258, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4517222', 'n_tokens_mistral': 1516, 'n_tokens_neox': 1232, 'n_words': 152}