Sha256: d8602dd09257e768b63b3a8712a1efb1d2e0260f58cedf68e1f18d7db34e6b72
Contents?: true
Size: 723 Bytes
Versions: 3
Compression:
Stored size: 723 Bytes
Contents
module Tay module CLI class Generate < ::Thor desc "options_page", "Generate an options page" def options_page copy_file('options_page/options.js', javascript_dir.join('options.js')) copy_file('options_page/options_page.js', javascript_dir.join('options_page.js')) copy_file('options_page/options_server.js', javascript_dir.join('options_server.js')) copy_file('options_page/options_page.css', stylesheet_dir.join('options_page.css')) create_file(html_dir.join('options_page.html'), render_template('options_page/options_page.html')) inject_tayfile_content(render_template('options_page/tayfile')) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tay-0.1.0 | lib/tay/cli/generators/options_page.rb |
tay-0.0.5 | lib/tay/cli/generators/options_page.rb |
tay-0.0.4 | lib/tay/cli/generators/options_page.rb |