Sha256: 64d419b24436369be673b57bcbaf53fa446943cd52c5cee73348a0d2f3297b2c
Contents?: true
Size: 500 Bytes
Versions: 3
Compression:
Stored size: 500 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'minglr')) uri_options, execution_options = MtxOptionsParser.parse(ARGV, :card, :transition) MingleResource.configure uri_options if card = Card.find(execution_options[:card]) execution = TransitionExecution.create(execution_options) raise "Transition aborted. Errors: #{execution.errors.full_messages}" if execution.errors.any? else raise "Card '#{execution_options[:card]}' cannot be found." end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
schubert-minglr-0.1.0.3 | bin/mtx |
schubert-minglr-1.0.6 | bin/mtx |
schubert-minglr-1.1.0 | bin/mtx |