module GitHubPr::Runner

Public Class Methods

run(opts) click to toggle source
# File lib/github-pr/runner.rb, line 4
def self.run(opts)
        options = CLI.parse(opts)
        puts options

        poster = Poster.new(Token.create(token_file_path:File.expand_path('~/.config/gh-pr-token'), direct_token: options[:token]))
        poster.post(options)
end