Class: GithubEventsExport::CLI
- Inherits:
-
Object
- Object
- GithubEventsExport::CLI
- Defined in:
- lib/github_events_export/cli.rb
Overview
Entrypoint for CLI usage
Constant Summary collapse
- STATUS_SUCCESS =
0- STATUS_FAILURE =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(options) ⇒ CLI
Returns a new instance of CLI.
13 14 15 |
# File 'lib/github_events_export/cli.rb', line 13 def initialize() @options = end |
Class Method Details
Instance Method Details
#run ⇒ Object
17 18 19 20 |
# File 'lib/github_events_export/cli.rb', line 17 def run Export.new(client).run STATUS_SUCCESS end |