Sha256: 8a5f90659cc5d1d62979ffc6e57a0f5383b695882486ca0ba509d2cb16489bde

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

#!/usr/bin/env ruby
require 'squib'
require 'mercenary'

Mercenary.program(:squib) do |p|
  p.version Squib::VERSION
  p.description "A Ruby DSL for prototyping card games"
  p.syntax "squib <subcommand> [options]"

  p.command(:new) do |c|
    c.syntax "new PATH"
    c.description "Creates a new Squib project scaffolding in PATH. Must be a new directory or already empty." 

    c.action do |args, options|
      Squib::Commands::New.new.process(args)
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squib-0.0.4 bin/squib
squib-0.0.2 bin/squib