Sha256: 4d04804cde5b4f08d55b45a80a870994a6b878d615057414d844161651207a9e

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

module Cascadence
  class Commander < Thor

    desc "version", "Not implemented yet. That's right, the command that tells you what version of cascadence you're running has not been implemented yet."
    def version
      Cascadence::Commander::Version.instance.run
    end

    desc "flow [FILEPATH]", "Runs the flow specified in the given file. If given a directory, runs all the flows in the directory."
    def flow(filepath=Dir.pwd)
      Cascadence::Commander::Flow.instance.run(filepath)
    end

  end
end

Dir[File.join(File.dirname(__FILE__), "commander", "*.rb")].each { |f| require f }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cascadence-0.3.0 lib/cascadence/commander.rb