Sha256: b47c4c84d836e81ef0ab98f5b52a5b4d53db4daef5890f01fa0503c3e8d95927

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require 'thor'

class ::StaticCms::Application < Thor
  require 'ruby_patch'
  extend ::RubyPatch::AutoLoad

  desc "init [DIR]", "Initialize DIR directory for StaticCms [default: .]."
  def init(dir = '.')
    ::StaticCms::Commands.init(dir)
  end

  desc "update", "Update templates, sources, statics (and more)."
  def update
    ::StaticCms::Commands.update
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
static_cms-1.2.0 lib/static_cms/application.rb