Sha256: 766d05e0304ff24f6df9f412bc8feb2a12c056f3d9b2d88d4f3a20d13d49ab7b

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

require "thor"


module Jdt

  class CLI < Thor
    include Thor::Actions

    desc "secure", "ensures the existence of index.html for every referenced folder"
    method_options :location => "."

    def secure ()
      handle_errors do
        Manifest.find(options[:location]).secure
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jdt-0.0.3 lib/jdt/commands/secure.rb
jdt-0.0.2 lib/jdt/commands/secure.rb