Sha256: 6935ecf0ea5627a758e87f1c4d69174739b9244f7242d7fa3650b29988ab0987

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

module Octopress
  module Ink
    module Commands
      module CommandHelpers
        def self.add_asset_options(c, action)
          c.option "layouts", "--layouts", "#{action} only layouts"
          c.option "includes", "--includes", "#{action} only includes"
          c.option "pages", "--pages", "#{action} only pages"
          c.option "stylesheets", "--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", "--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", "--images", "#{action} only images"
          c.option "fonts", "--fonts", "#{action} only fonts"
          c.option "files", "--files", "#{action} only files"
          c.option "defaults", "--defaults", "#{action} plugin's default configuration"
          c.option "config", "--config <CONFIG_FILE>[,CONFIG_FILE2,...]", Array, "Custom configuration file"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.rc.2 lib/octopress-ink/commands/helpers.rb
octopress-ink-1.0.0.rc.1 lib/octopress-ink/commands/helpers.rb
octopress-ink-1.0.0.alpha.45 lib/octopress-ink/commands/helpers.rb