Sha256: 0fa74f3e0151a86a43f84dc71fe8975090ea64e432afae94e53c4767ff184c00
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require 'wtfpl_init' require 'thor' class WtfplInit::Cli::Exec < Thor default_command :wtfpl_init desc "wtfpl", "Download and rename WTFPL License file" def wtfpl_init begin WtfplInit::Cli.new.run say('LICENSE.md created', :green) rescue Errno::EEXIST say('LICENSE.md already exists', :red) rescue => e say("something wrong #{e.message}", :red) end end end WtfplInit::Cli::Exec.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wtfpl_init-0.1.0 | bin/wtfpl |