Sha256: 082324ec08a5544a7ad9d850213e8eeff11069282587cb9cd22a5d59d215aa4c

Contents?: true

Size: 795 Bytes

Versions: 2

Compression:

Stored size: 795 Bytes

Contents

# encoding: utf-8

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

module GithubCLI
  autoload :DSL,       'github_cli/dsl'
  autoload :Config,    'github_cli/config'
  autoload :CLI,       'github_cli/cli'
  autoload :Command,   'github_cli/command'
  autoload :API,       'github_cli/api'
  autoload :Terminal,  'github_cli/terminal'
  autoload :Commands,  'github_cli/commands'
  autoload :UI,        'github_cli/ui'

  require 'github_cli/apis'

  extend DSL

  program_name 'Github CLI client'

  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

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.1.2 lib/github_cli.rb
github_cli-0.1.1 lib/github_cli.rb