lib/agile_utils/cli.rb in agile_utils-0.1.2 vs lib/agile_utils/cli.rb in agile_utils-0.1.3
- old
+ new
@@ -4,11 +4,11 @@
class CLI < Thor
desc "main", "Main entry point"
def main
opts = options.symbolize_keys
if opts[:version]
- puts "You are using #{AgileUtils::PROJECT_NAME} version #{AgileUtils::VERSION}"
+ puts "You are using AgileUtils version #{AgileUtils::VERSION}"
exit
end
end
desc "usage", "Display help screen"
def usage
@@ -17,17 +17,15 @@
require 'agile_utils'
include AgileUtils
# General methods
AgileUtils::Helper.capture
-AgileUtils::Helper.is_linux?
-AgileUtils::Helper.is_osx?
AgileUtils::Helper.make_list
AgileUtils::Helper.shell
+AgileUtils::Helper.linux?
+AgileUtils::Helper.osx?
AgileUtils::Helper.time
AgileUtils::Helper.uname
-
-# File and related methods
AgileUtils::FileUtil.find()
AgileUtils::FileUtils.delete()
AgileUtils::FileUtils.gunzip()
AgileUtils::FileUtils.tar_gzip_files()
EOS