Sha256: 444a6199b8f4e2505a8e427dcf734a9ae0efa8202bacb17717a9e0115e5a2519
Contents?: true
Size: 654 Bytes
Versions: 4
Compression:
Stored size: 654 Bytes
Contents
module MyScripts class Mybones < Script # This script uses Mr.Bones gem to create new project skeleton, local git repo and # initiate remote repo on github # def run usage "project_name Summary or description goes here" if @argv.empty? # First Arg should be project name project = @argv.shift # All the other args lumped into summary, or default summary summary = @argv.empty? ? "New project #{project}" : @argv.join(' ') puts "Creating Bones project #{project} with summary: #{summary}" system %Q[bones create --github "#{summary}" -s basic #{project}] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
my_scripts-0.0.13 | lib/my_scripts/mybones.rb |
my_scripts-0.0.12 | lib/my_scripts/mybones.rb |
my_scripts-0.0.11 | lib/my_scripts/mybones.rb |
my_scripts-0.0.9 | lib/my_scripts/mybones.rb |