lib/github_cli.rb in github_cli-0.4.4 vs lib/github_cli.rb in github_cli-0.5.0

- old
+ new

@@ -1,11 +1,10 @@ # encoding: utf-8 require 'yaml' require 'pathname' -require 'thor' -require 'thor/group' +require 'github_cli/vendor' require 'github_api' require 'github_cli/thor_ext' require 'github_cli/version' require 'github_cli/errors' @@ -17,10 +16,12 @@ autoload :Command, 'github_cli/command' autoload :API, 'github_cli/api' autoload :Terminal, 'github_cli/terminal' autoload :System, 'github_cli/system' autoload :Pager, 'github_cli/pager' + autoload :Editor, 'github_cli/editor' + autoload :Manpage, 'github_cli/manpage' autoload :Commands, 'github_cli/commands' autoload :Helpers, 'github_cli/helpers' autoload :Formatter, 'github_cli/formatter' autoload :Formatters,'github_cli/formatters' autoload :UI, 'github_cli/ui' @@ -38,9 +39,13 @@ class << self attr_writer :ui, :config def ui @ui ||= UI.new + end + + def executable_name + File.basename($PROGRAM_NAME) end def default_configfile Helpers.default_configfile end