Sha256: 4034abcbf7743d63f7fb7dbda88bd2586af925cff0e6b6fbb2b773751aca690f
Contents?: true
Size: 583 Bytes
Versions: 6
Compression:
Stored size: 583 Bytes
Contents
#!/usr/bin/env ruby # NOTE: If you would like to run this file as a developer, you can use the following command # ruby -I path/to/csd/lib path/to/csd/bin/ai # First, load the Rubygems framework and the CSD gem. # Note: Rubygems is already included for Ruby >= 1.9, but we want to go sure here require 'rubygems' require 'csd' begin CSD.bootstrap :executable => 'ai' rescue CSD::Error::CSDError => e CSD.ui.error e.message unless e.status_code <= 49 # Everything under 50 shows help messages exit e.status_code rescue Interrupt CSD.ui.error "\nQuitting AI..." abort end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
csd-0.1.4 | bin/ai |
csd-0.1.3 | bin/ai |
csd-0.1.2 | bin/ai |
csd-0.1.1 | bin/ai |
csd-0.1.0 | bin/ai |
csd-0.0.16 | bin/ai |