Sha256: 61e9b53d07dc8a0c07005f88308f4d84f96766211b7a4445d88a24297b68397c

Contents?: true

Size: 942 Bytes

Versions: 1

Compression:

Stored size: 942 Bytes

Contents

# encoding: utf-8

require 'yaml'
require 'thor'
require 'thor/group'
require 'github_api'
require 'github_cli/version'

module GithubCLI
  autoload :Config,       'github_cli/config'
  autoload :CLI,          'github_cli/cli'
  autoload :Terminal,     'github_cli/terminal'
  autoload :Blob,         'github_cli/blob'
  autoload :Blobs,        'github_cli/blobs'
  autoload :Tree,         'github_cli/tree'
  autoload :Trees,        'github_cli/trees'
  autoload :Repositories, 'github_cli/repositories'
  autoload :UI,           'github_cli/ui'

  require "github_cli/api"
  require "github_cli/repository"
  require "github_cli/issues"
  require "github_cli/labels"
  require "github_cli/command"

  class << self
    attr_writer :ui, :config

    def ui
      @ui ||= UI.new
    end

    def config
      @config ||= GithubCLI::Config.new
    end

    def commands
      @commands ||= GithubCLI::Command.all
    end
  end
end # GithubCLI

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_cli-0.1.0 lib/github_cli.rb