kigster/secrets-cipher-base64

View on GitHub
lib/sym/app/commands/show_help.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'sym/app/commands/base_command'
module Sym
  module App
    module Commands
      class ShowHelp < BaseCommand

        required_options :help, ->(opts) { opts.keys.all? { |k| !opts[k] } }

        def execute
          opts_slop.to_s(prefix: ' ' * 2)
        end
      end
    end
  end
end