lib/gemsmith/templates/%gem_name%/lib/%gem_path%.rb.tt in gemsmith-8.0.0 vs lib/gemsmith/templates/%gem_name%/lib/%gem_path%.rb.tt in gemsmith-8.1.0
- old
+ new
@@ -1,3 +1,6 @@
require "<%= config.dig(:gem, :path) %>/identity"
+<%- if config.dig(:generate, :cli) -%>
+require "<%= config.dig(:gem, :path) %>/cli"
+<%- end -%>
<%- if config.dig(:generate, :rails) -%>
require "<%= config.dig(:gem, :path) %>/engine"
<%- end -%>