Sha256: e2fdc094b41f5ecae687b34ff4221fd6b4744586341f8a26ff52ad5a2bbcbc64

Contents?: true

Size: 316 Bytes

Versions: 57

Compression:

Stored size: 316 Bytes

Contents

Standup.script :local do
  self.description = 'Generate script'
  
  def run
    script_name = argument '<script name>'
    
    FileUtils.mkdir_p(Standup.local_scripts_path)
    FileUtils.copy script_file('script.rb'),
                   File.expand_path("#{script_name}.rb",  Standup.local_scripts_path)
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
standup-0.3.20 scripts/generate.rb
standup-0.3.19 scripts/generate.rb
standup-0.3.18 scripts/generate.rb
standup-0.3.17 scripts/generate.rb
standup-0.3.16 scripts/generate.rb
standup-0.3.15 scripts/generate.rb
standup-0.3.14 scripts/generate.rb
standup-0.3.13 scripts/generate.rb
standup-0.3.12 scripts/generate.rb
standup-0.3.11 scripts/generate.rb
standup-0.3.10 scripts/generate.rb
standup-0.3.9 scripts/generate.rb
standup-0.3.8 scripts/generate.rb
standup-0.3.7 scripts/generate.rb
standup-0.3.6 scripts/generate.rb
standup-0.3.5 scripts/generate.rb
standup-0.3.4 scripts/generate.rb