Sha256: 4b47a29abbadbd8d4b9674184b6f9de3ecce3acb7c505b634f76e92111347b2d

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

#Encoding: UTF-8

require 'caramelize/cli'

module Caramelize::CLI

  # The CLI command for rendering a webgen website.
  class RunCommand < CmdParse::Command

    def initialize # :nodoc:
      super('run', false)
      self.short_desc = 'Run the wiki content transfer based on the given config file'
    end

    # Transfer Wiki contents
    def execute(args)
      commandparser.transfer_content
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
caramelize-0.0.3 lib/caramelize/cli/run_command.rb
caramelize-0.0.2 lib/caramelize/cli/run_command.rb
caramelize-0.0.1 lib/caramelize/cli/run_command.rb