<commit_before># encoding: utf-8

module GithubCLI
  class Issue < API

    class << self

      def all(arg, params, format)
        output format do
          github_api.issues.list arg, params
        end
      end

      def get(user, repo, id, params, format)
        output format do
          github_api.issues.get user, repo, id, params
        end
      end

      def create(user, repo, params, format)
        output format do
          github_api.issues.create user, repo, params
        end
      end

      def edit(user, repo, id, params, format)
        output format do
          github_api.issues.edit user, repo, id, params
        end
      end
    end

  end # Issue
end # GithubCLI<commit_msg>Change issue api to take options.<commit_after># encoding: utf-8

module GithubCLI
  class Issue < API

    class << self

      def all(arg, params, options)
        output options[:format], options[:quiet] do
          github_api(options).issues.list arg, params
        end
      end

      def get(user, repo, id, params, options)
        output options[:format], options[:quiet] do
          github_api(options).issues.get user, repo, id, params
        end
      end

      def create(user, repo, params, options)
        output options[:format], options[:quiet] do
          github_api(options).issues.create user, repo, params
        end
      end

      def edit(user, repo, id, params, options)
        output options[:format], options[:quiet] do
          github_api(options).issues.edit user, repo, id, params
        end
      end
    end

  end # Issue
end # GithubCLI
{'fraction_non_alphanumeric': 0.08448060075093868, 'fraction_numerical': 0.0012515644555694619, 'mean_word_length': 2.05736137667304, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3684847', 'n_tokens_mistral': 472, 'n_tokens_neox': 447, 'n_words': 154}