Sha256: 9a08dafef64e8c673e3a4f82eb7414739085311e627271b1c4f9d5f796e72b2f
Contents?: true
Size: 531 Bytes
Versions: 9
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true require "sod" module Milestoner module CLI module Actions module Build # Handles build output format. class Format < Sod::Action include Import[:input] description "Set output format." on %w[-f --format], argument: "[KIND]", allow: %w[ascii_doc markdown stream web] default { Container[:configuration].build_format } def call(kind = nil) = input.build_format = kind || default end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems