Sha256: 39a59c8db42d88f33f95d872b77eee199f51fd81722bf66b079a52967441cba0
Contents?: true
Size: 639 Bytes
Versions: 10
Compression:
Stored size: 639 Bytes
Contents
# frozen_string_literal: true require "sod" module Milestoner module CLI module Actions module Build # Handles build stylesheet. class Stylesheet < Sod::Action include Import[:settings] description "Set stylesheet file name or relative path." ancillary "Only used by web format. Use false to disable." on %w[-s --stylesheet], argument: "[NAME]" default { Container[:settings].build_stylesheet } def call name = default settings.build_stylesheet = name == "false" ? false : name end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems