Class: Torba::Cli

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

Overview

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#packObject

Since:

  • 0.1.0



7
8
9
10
# File 'lib/torba/cli.rb', line 7

def pack
  Torba.pretty_errors { Torba.pack }
  Torba.ui.confirm "Torba has been packed!"
end

#verifyObject

Since:

  • 0.1.0



13
14
15
16
# File 'lib/torba/cli.rb', line 13

def verify
  Torba.pretty_errors { Torba.verify }
  Torba.ui.confirm "Torba is prepared!"
end