Class: Packman::CLI

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

Instance Method Summary collapse

Instance Method Details

#settingsObject



10
11
12
13
14
# File 'lib/packman/cli.rb', line 10

def settings
  check_funpackfile!
  settings = Packman::WebSettings.generate(funpackfile)
  $stdout.puts JSON.pretty_generate(settings)
end

#versionObject



17
18
19
# File 'lib/packman/cli.rb', line 17

def version
  puts Packman::VERSION
end