module Ey::Core::Cli::Helpers::Deprecated::ClassMethods

Class-level helpers pulled into an including class

Public Instance Methods

deprecate(deprecated_title) click to toggle source

A helper for deprecating a Belafonte-based command

@param deprecated_title [String] the title of the command

@return [NilClass] this method is not expected to return a value

# File lib/ey-core/cli/helpers/deprecated.rb, line 16
            def deprecate(deprecated_title)
              title deprecated_title
              summary 'This command has been deprecated'
              description <<-DESCRIPTION
The #{meta[:title]} command has been deprecated. We apologize for any inconvenience.
DESCRIPTION
            end