Class: SpotifyExporter::CLI
- Inherits:
-
Thor
- Object
- Thor
- SpotifyExporter::CLI
- Defined in:
- lib/spotifyexporter/cli.rb
Overview
The CLI spotify exporter
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Returns exit with non zero status when an exception occurs.
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
Returns exit with non zero status when an exception occurs
16 17 18 |
# File 'lib/spotifyexporter/cli.rb', line 16 def self.exit_on_failure? true end |
Instance Method Details
#auth ⇒ Object
29 30 31 32 |
# File 'lib/spotifyexporter/cli.rb', line 29 def auth workflow = AuthWorkflow.new workflow.start end |
#version ⇒ Object
24 25 26 |
# File 'lib/spotifyexporter/cli.rb', line 24 def version puts SpotifyExporter::VERSION end |