Sha256: 81d15011c1886857659f9089b438cab9650e95f25d52b4d9ce21e98fffd039e6
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
#!/usr/bin/env ruby # Abort beautifully with ctrl+c. Signal.trap(:INT) { abort "\nAborting." } # Load the main lib and invoke CLI. if ENV['RAILS_ENV'] == 'development' require './lib/sunzi' else require 'sunzi' end require 'active_support/core_ext/hash/slice' require 'active_support/core_ext/hash/indifferent_access' require 'active_support/ordered_hash' require 'active_support/hash_with_indifferent_access' Sunzi::Cli.start(ARGV, { destination_root: 'config' })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sunzi-rails-0.1.0 | bin/sunzi-cap |