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.6.9 scripts/generate.rb
standup-0.6.8 scripts/generate.rb
standup-0.6.7 scripts/generate.rb
standup-0.6.6 scripts/generate.rb
standup-0.6.5 scripts/generate.rb
standup-0.6.4 scripts/generate.rb
standup-0.6.3 scripts/generate.rb
standup-0.6.2 scripts/generate.rb
standup-0.6.1 scripts/generate.rb
standup-0.6.0 scripts/generate.rb
standup-0.5.14 scripts/generate.rb
standup-0.5.13 scripts/generate.rb
standup-0.5.11 scripts/generate.rb
standup-0.5.10 scripts/generate.rb
standup-0.5.9 scripts/generate.rb
standup-0.5.8 scripts/generate.rb
standup-0.5.7 scripts/generate.rb
standup-0.5.6 scripts/generate.rb
standup-0.5.5 scripts/generate.rb
standup-0.5.4 scripts/generate.rb