Sha256: 386750f21d49f0252f691f2598fcce28a9175c2c7b8d2af43d277f1ee497500a

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

#!/usr/bin/env ruby
require_relative "../lib/nyara/nyara"

args = ARGV.dup
task_name = args.shift || 'help'


case task_name
when 'help', '-h'
  Nyara::Command.help
when '-v'
  Nyara::Command.version
when 'new'
  Nyara::Command.new_project(*args)
when 's','server'
  Nyara::Command.run_server(*args)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nyara-0.1.pre.0 bin/nyara