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.5.3 scripts/generate.rb
standup-0.5.1 scripts/generate.rb
standup-0.5.0 scripts/generate.rb
standup-0.4.0 scripts/generate.rb
standup-0.3.37 scripts/generate.rb
standup-0.3.36 scripts/generate.rb
standup-0.3.35 scripts/generate.rb
standup-0.3.34 scripts/generate.rb
standup-0.3.33 scripts/generate.rb
standup-0.3.32 scripts/generate.rb
standup-0.3.31 scripts/generate.rb
standup-0.3.30 scripts/generate.rb
standup-0.3.29 scripts/generate.rb
standup-0.3.28 scripts/generate.rb
standup-0.3.27 scripts/generate.rb
standup-0.3.26 scripts/generate.rb
standup-0.3.25 scripts/generate.rb
standup-0.3.24 scripts/generate.rb
standup-0.3.23 scripts/generate.rb
standup-0.3.22 scripts/generate.rb