lib/github_cli.rb in github_cli-0.1.0 vs lib/github_cli.rb in github_cli-0.1.1
- old
+ new
@@ -5,24 +5,23 @@
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'
+ 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/api"
- require "github_cli/repository"
- require "github_cli/issues"
- require "github_cli/labels"
- require "github_cli/command"
+ require 'github_cli/apis'
+
+ extend DSL
+
+ program_name 'Github CLI client'
class << self
attr_writer :ui, :config
def ui