Class: GithubReactions::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/github_reactions/cli.rb

Instance Method Summary collapse

Instance Method Details

#get(repository_name) ⇒ Object



13
14
15
16
17
18
# File 'lib/github_reactions/cli.rb', line 13

def get(repository_name)
  Visualizer.visualize(
    repository_name,
    QueryExecutor.get(repository_name)
  )
end

#versionObject



21
22
23
# File 'lib/github_reactions/cli.rb', line 21

def version
  puts GithubReactions::VERSION
end