Sha256: 8d9cb7550d77d17b024c5cdb1eec67aa6f8fdedb95c88b56158466a52ee1996e

Contents?: true

Size: 492 Bytes

Versions: 20

Compression:

Stored size: 492 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

20 entries across 20 versions & 1 rubygems

Version Path
squib-0.13.4 bin/squib
squib-0.13.3 bin/squib
squib-0.13.2 bin/squib
squib-0.13.1 bin/squib
squib-0.13.0 bin/squib
squib-0.12.0 bin/squib
squib-0.11.0 bin/squib
squib-0.10.0 bin/squib
squib-0.9.0 bin/squib
squib-0.8.0 bin/squib
squib-0.7.0 bin/squib
squib-0.6.0 bin/squib
squib-0.5.1 bin/squib
squib-0.5.0 bin/squib
squib-0.4.0 bin/squib
squib-0.3.0 bin/squib
squib-0.2.0 bin/squib
squib-0.1.0 bin/squib
squib-0.0.6 bin/squib
squib-0.0.5 bin/squib