Class: Licensed::CLI

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

Instance Method Summary collapse

Instance Method Details

#cacheObject



14
15
16
17
# File 'lib/licensed/cli.rb', line 14

def cache
  Licensed.use_github = false if options[:offline]
  run Licensed::Command::Cache.new(config), force: options[:force]
end

#listObject



29
30
31
# File 'lib/licensed/cli.rb', line 29

def list
  run Licensed::Command::List.new(config)
end

#verifyObject



22
23
24
# File 'lib/licensed/cli.rb', line 22

def verify
  run Licensed::Command::Verify.new(config)
end