Sha256: bae7ec77747fac514051bd50127c483d1581246033377821c0e0a95f3a994db2

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

# -*- coding: utf-8 -*-
class CliDirCat < OptParseCommand::CliMain

  def self.command
    "dircat"
  end

  def self.description
    "Simple set of command to build catalogs of files.\n" +
    "Code https://github.com/tokiro/dircat. Feedback to tokiro.oyama@gmail.com"
  end

  def self.version
    DirCat::version
  end

  def defaults
    OpenStruct.new(
        :verbose => true,
        :force   => false
    )
  end

  def opt_parser(options)
    opt_parser = super(options)
    opt_parser
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dircat-0.1.8 lib/dircat/cli/cli_dircat.rb
dircat-0.1.7 lib/dircat/cli/cli_dircat.rb
dircat-0.1.6 lib/dircat/cli/cli_dircat.rb