lib/dry/cli/banner.rb in dry-cli-0.4.0 vs lib/dry/cli/banner.rb in dry-cli-0.5.0

- old
+ new

@@ -102,10 +102,10 @@ # @api private # # rubocop:disable Metrics/AbcSize def self.extended_command_options(command) result = command.options.map do |option| - name = Hanami::Utils::String.dasherize(option.name) + name = Inflector.dasherize(option.name) name = if option.boolean? "[no-]#{name}" else "#{name}=VALUE" end