class GistUpdater::Commands

CLI Interface

Public Instance Methods

update() click to toggle source

CLI Interface to update your Gist

@return (see GistUpdater::Updater#update)

# File lib/gist_updater/commands.rb, line 24
def update
  Updater.new(options).update
end
version() click to toggle source

CLI Interface to display version

@return (see Kernel.puts)

# File lib/gist_updater/commands.rb, line 32
def version
  puts VERSION
end