lib/dry/cli/command.rb in dry-cli-1.0.0 vs lib/dry/cli/command.rb in dry-cli-1.1.0
- old
+ new
@@ -43,14 +43,10 @@
# @api private
attr_reader :options
# @since 0.7.0
# @api private
- attr_reader :subcommands
-
- # @since 0.7.0
- # @api private
- attr_writer :subcommands
+ attr_accessor :subcommands
end
# Set the description of the command
#
# @param description [String] the description