Sha256: ca8be186232d84724219bf76d3015f52d91c4dc781413ad2fe201242c35fc9bd

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
squib-0.0.3 bin/squib