Class: Licensed::CLI

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

Instance Method Summary collapse

Instance Method Details

#cacheObject



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

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

#listObject



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

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

#statusObject



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

def status
  run Licensed::Command::Status.new(config)
end