lib/dircat.rb in dircat-0.1.4 vs lib/dircat.rb in dircat-0.1.5
- old
+ new
@@ -1,14 +1,20 @@
+# -*- coding: utf-8 -*-
#
-# stdlib
+# std lib
#
require 'fileutils'
require 'tmpdir'
require 'yaml'
require 'ostruct'
require 'optparse'
+#
+# rubygems
+#
+require 'optparse-command'
+
module DirCat
def self.version
cwd = File.dirname( __FILE__)
yaml = YAML.load_file(cwd + '/../VERSION.yml')
major = (yaml['major'] || yaml[:major]).to_i
@@ -23,8 +29,9 @@
require 'dircat/cat'
require 'dircat/entry'
require 'dircat/report'
-require 'dircat/cli/dircat_build'
-require 'dircat/cli/dircat_diff'
-require 'dircat/cli/dircat_query'
+require 'dircat/cli/cli_dircat'
+require 'dircat/cli/command_build'
+require 'dircat/cli/command_diff'
+require 'dircat/cli/command_query'