Sha256: 1bd6e204812bd1b874466d65faf3220f13f79dfa2522b59ff16498ccfe346865
Contents?: true
Size: 530 Bytes
Versions: 10
Compression:
Stored size: 530 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[:settings] description "Set output format." on %w[-f --format], argument: "[KIND]", allow: %w[ascii_doc feed markdown stream web] default { Container[:settings].build_format } def call(kind = default) = settings.build_format = kind end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems