Sha256: 92a7ed750ffc697dbc2b7b57e75140557583a95d2f0b9ef1012abae0f72641c4

Contents?: true

Size: 194 Bytes

Versions: 6

Compression:

Stored size: 194 Bytes

Contents

#!/usr/bin/env ruby

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

require_relative "../lib/<%= project_name %>"
<%= project_class_name %>::CLI.start

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cli-template-4.0.2 lib/templates/colon_namespaces/exe/%project_name%.tt
cli-template-4.0.1 lib/templates/colon_namespaces/exe/%project_name%.tt
cli-template-4.0.0 lib/templates/colon_namespaces/exe/%project_name%.tt
cli-template-3.5.1 lib/templates/colon_namespaces/exe/%project_name%.tt
cli-template-3.5.0 lib/templates/colon_namespaces/exe/%project_name%.tt
cli-template-3.4.0 lib/templates/colon_namespaces/exe/%project_name%.tt