Sha256: 963a3b75328abceea05ab6d5f77a5870243b0baf215d6bb37cd210ea12948f53
Contents?: true
Size: 303 Bytes
Versions: 3
Compression:
Stored size: 303 Bytes
Contents
require 'sym/app/commands/base_command' module Sym module App module Commands class ShowHelp < BaseCommand required_options :help, ->(opts) { opts.to_hash.keys.all? { |k| !opts[k] } } def execute opts.to_s(prefix: ' ' * 2) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sym-2.3.0 | lib/sym/app/commands/show_help.rb |
sym-2.2.1 | lib/sym/app/commands/show_help.rb |
sym-2.2.0 | lib/sym/app/commands/show_help.rb |