Class: CandyCheck::CLI::App

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

Overview

Main class for the executable ‘candy_check’

Examples:

$> candy_check help

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/candy_check/cli/app.rb', line 44

def self.exit_on_failure?
  true
end

Instance Method Details

#app_store(receipt) ⇒ Object



23
24
25
# File 'lib/candy_check/cli/app.rb', line 23

def app_store(receipt)
  Commands::AppStore.run(receipt, **options)
end

#play_store(package, product_id, token) ⇒ Object



34
35
36
# File 'lib/candy_check/cli/app.rb', line 34

def play_store(package, product_id, token)
  Commands::PlayStore.run(package, product_id, token, **options)
end

#versionObject



40
41
42
# File 'lib/candy_check/cli/app.rb', line 40

def version
  Commands::Version.run
end