Sha256: 50245427be41b08b1713f2d6f4f15eb21af04d328342640317a75dcd30d0d9a0

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

#!/usr/bin/env ruby

# Trap ^C
Signal.trap("INT") {
  puts "\nCtrl-C detected. Exiting..."
  sleep 0.1
  exit
}

$:.unshift(File.expand_path("../../lib", __FILE__))
require "<%= project_name %>"
require "<%= underscored_name %>/cli"

<%= project_class_name %>::CLI.start(ARGV)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cli-template-4.0.2 lib/templates/default/exe/%project_name%.tt
cli-template-4.0.1 lib/templates/default/exe/%project_name%.tt
cli-template-4.0.0 lib/templates/default/exe/%project_name%.tt