Sha256: df2a40b83aadc3960b526cc9f9303f7dfca0187cbd1f191c19bd0de4d844d71b

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

module Octopress
  module Ink
    module Commands
      module CommandHelpers
        def self.add_asset_options(c, action)
          c.option "config-file", "-c", "--config", "#{action} plugin's config file"
          c.option "layouts", "-l", "--layouts", "#{action} only layouts"
          c.option "includes", "-i", "--includes", "#{action} only includes"
          c.option "pages", "-p", "--pages", "#{action} only pages"
          c.option "templates", "-t", "--templates", "#{action} only pages"
          c.option "stylesheets", "-s", "--stylesheets", "#{action} only Stylesheets (.css, .scss, .sass)"
          c.option "css", "--css", "#{action} only CSS files (.css)"
          c.option "sass", "--sass", "#{action} only Sass files (.scss, .sass)"
          c.option "javascripts", "-j", "--javascripts", "#{action} only Javascripts (.js and .coffee)"
          c.option "js", "--js", "#{action} only Javascript files (.js)"
          c.option "coffee", "--coffee", "#{action} only Coffeescript files (.coffee)"
          c.option "images", "-img", "--images", "#{action} only images"
          c.option "fonts", "--fonts", "#{action} only fonts"
          c.option "files", "--files", "#{action} only files"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.rc.64 lib/octopress-ink/commands/helpers.rb