Class: Psdk::Cli::Main

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

Overview

Main PSDK CLI class

Must be used for the general psdk-cli command

Instance Method Summary collapse

Instance Method Details

#updateObject



25
26
27
28
# File 'lib/psdk/cli.rb', line 25

def update
  require_relative 'helpers/version_update'
  VersionUpdate.check_and_update
end

#versionObject



19
20
21
22
# File 'lib/psdk/cli.rb', line 19

def version
  require_relative 'helpers/version'
  Version.run(options[:no_psdk_version])
end