Sha256: dff318787b1dfb02234e7c46709aeedc2246e48b59ae323ae63ecd4af0ff22e8
Contents?: true
Size: 372 Bytes
Versions: 3
Compression:
Stored size: 372 Bytes
Contents
module Gemsmith module Skeletons # Configures Command Line Interface (CLI) support. class CLISkeleton < BaseSkeleton def create return unless configuration.create_cli? cli.template "%gem_name%/bin/%gem_name%.tt", configuration.to_h cli.template "%gem_name%/lib/%gem_name%/cli.rb.tt", configuration.to_h end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-6.2.0 | lib/gemsmith/skeletons/cli_skeleton.rb |
gemsmith-6.1.0 | lib/gemsmith/skeletons/cli_skeleton.rb |
gemsmith-6.0.0 | lib/gemsmith/skeletons/cli_skeleton.rb |