Sha256: 69a58f89849bb96a444a3795c5a64b575482a4652ed2a55d9dad359a8ddba057
Contents?: true
Size: 508 Bytes
Versions: 27
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module Evostream module CLI module Argument # Argument for listing command available in this software class Command < Arg include Singleton KEY = ['-c', '--commands'].freeze private def action $stdout.puts 'Commands :' Evostream::Commands::Command.descendants.each do |cmd| $stdout.puts " - #{cmd.to_s.split('::').last}" end super end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems