Class: GistUpdater::Commands
- Inherits:
-
Thor
- Object
- Thor
- GistUpdater::Commands
- Defined in:
- lib/gist_updater/commands.rb
Overview
CLI Interface
Instance Method Summary collapse
-
#update ⇒ Array<Sawyer::Resource>
CLI Interface to update your Gist.
-
#version ⇒ Object
CLI Interface to display version.
Instance Method Details
#update ⇒ Array<Sawyer::Resource>
CLI Interface to update your Gist
24 25 26 |
# File 'lib/gist_updater/commands.rb', line 24 def update Updater.new().update end |
#version ⇒ Object
CLI Interface to display version
32 33 34 |
# File 'lib/gist_updater/commands.rb', line 32 def version puts VERSION end |