Sha256: 59aa71f7e3b0927a7f9f34bdb16ec43a402d209d949a45840cbc70e5f33d85d5
Contents?: true
Size: 442 Bytes
Versions: 92
Compression:
Stored size: 442 Bytes
Contents
require 'gen' module Gen module Commands class New < Gen::Command def call(args, _name) unless args.size == 1 puts CLI::UI.fmt(self.class.help) raise(CLI::Kit::AbortSilent) end project = args.first Gen::Generator.run(project) end def self.help "Generate a new cli-kit project.\nUsage: {{command:#{Gen::TOOL_NAME} new <name>}}" end end end end
Version data entries
92 entries across 92 versions & 2 rubygems