<commit_before>require "language/node"

class NetlifyCli < Formula
  desc "Netlify command-line tool"
  homepage "https://www.netlify.com/docs/cli"
  url "https://registry.npmjs.org/netlify-cli/-/netlify-cli-2.46.0.tgz"
  sha256 "5e9f257d66f9b02ef7e100b30500c9027fd54adb3b86834a7440a98cefcc4705"
  head "https://github.com/netlify/cli.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "527f93f889fff89c35267a65770d023284158968d1d8c4938827253b2d67df42" => :catalina
    sha256 "fc1b271c6f82442eada8e1b3808969584ca19fc5df084cff42f3685266bf96eb" => :mojave
    sha256 "92f01be71781c8c80dc634d65287a20b7bd4ccb9f4b4947b24d8d91a8795a0e9" => :high_sierra
  end

  depends_on "node"

  uses_from_macos "expect" => :test

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    (testpath/"test.exp").write <<~EOS
      spawn #{bin}/netlify login
      expect "Opening"
    EOS
    assert_match "Logging in", shell_output("expect -f test.exp")
  end
end<commit_msg>netlify-cli: update 2.46.0 bottle.<commit_after>require "language/node"

class NetlifyCli < Formula
  desc "Netlify command-line tool"
  homepage "https://www.netlify.com/docs/cli"
  url "https://registry.npmjs.org/netlify-cli/-/netlify-cli-2.46.0.tgz"
  sha256 "5e9f257d66f9b02ef7e100b30500c9027fd54adb3b86834a7440a98cefcc4705"
  head "https://github.com/netlify/cli.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "97dd13f9fe9d6dbc1e86a59caab19d3d3ff6c900851bcda44dd87ecb754a2f5f" => :catalina
    sha256 "60d235d77be3c2aea2e592ef70703b14e4707cdf8a8717f897a6a26cd1eeb038" => :mojave
    sha256 "fffbc06a00ccec4678bc8b5a21b22dc8c5856e5ecca0bff671cbdf7c4ec70397" => :high_sierra
  end

  depends_on "node"

  uses_from_macos "expect" => :test

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    (testpath/"test.exp").write <<~EOS
      spawn #{bin}/netlify login
      expect "Opening"
    EOS
    assert_match "Logging in", shell_output("expect -f test.exp")
  end
end
{'fraction_non_alphanumeric': 0.11172925359295317, 'fraction_numerical': 0.1617987946221604, 'mean_word_length': 4.708994708994709, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '2604454', 'n_tokens_mistral': 1115, 'n_tokens_neox': 926, 'n_words': 128}