Class: HeaderUtil::CLI

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

Instance Method Summary collapse

Instance Method Details

#checkObject



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

def check
    puts HeaderUtil::Utility.check(options[:header])
end

#checknupdateObject



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

def checknupdate
    puts HeaderUtil::Utility.check_and_update_header(options[:header])
end