Module: Skap::CLI::Works
Overview
CLI command for managing works (files based on sources).
Constant Summary
Constants included from Skap::Command
Instance Method Summary collapse
Instance Method Details
#start(command, args) ⇒ void
This method returns an undefined value.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/skap/cli/works.rb', line 11 def start(command, args) # rubocop:disable Metrics/MethodLength assert_cwd case command when "covered" then covered(*args) when "ignored" then ignored(*args) when "publish" then publish(*args) when "outdated" then outdated(*args) when "uncovered" then uncovered(*args) when "unknown" then unknown(*args) else raise ArgumentError, "Unknown command: #{command}" end end |