Module: GitHubPr::Runner
- Defined in:
- lib/github-pr/runner.rb
Class Method Summary collapse
Class Method Details
.run(opts) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/github-pr/runner.rb', line 4 def self.run(opts) = CLI.parse(opts) puts poster = Poster.new(Token.create(token_file_path:File.('~/.config/gh-pr-token'), direct_token: [:token])) poster.post() end |