Sha256: b3ab27d881b771e3dac79108c2cb88b6ba4ef32fba22d9e4991732ae601a538f
Contents?: true
Size: 773 Bytes
Versions: 1
Compression:
Stored size: 773 Bytes
Contents
#!/usr/bin/env ruby require "thor" module MadChatter class Cli < Thor include Thor::Actions def self.source_root File.expand_path("../", File.dirname(__FILE__)) end desc "new", "Creates a scaffold of a new Mad Chatter chatroom" def new(name) empty_directory "#{name}/extensions" copy_file "README", "#{name}/README" copy_file "LICENSE", "#{name}/LICENSE" copy_file "templates/index.html", "#{name}/web/index.html" copy_file "templates/javascript.js", "#{name}/web/javascript.js" copy_file "templates/stylesheets/reset.css", "#{name}/web/stylesheets/reset.css" copy_file "templates/stylesheets/styles.css", "#{name}/web/stylesheets/styles.css" end end end MadChatter::Cli.start
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mad_chatter-0.0.7 | bin/mad_chatter |