Sha256: 02f29c4f695ac31c037144b765171b97ff87cd02272da6f6bcc550c1ff8ab524
Contents?: true
Size: 744 Bytes
Versions: 2
Compression:
Stored size: 744 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' # Byebug for dev begin require 'byebug' rescue LoadError end source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path $LOAD_PATH << source_path require 'mobile_workflow_cli' if ARGV.empty? puts "USAGE: mwf <directory> <OpenAPI Spec file path> [options]" puts "See --help for more info" exit 0 elsif ['-v', '--version'].include? ARGV[0] puts MobileWorkflowCli::VERSION exit 0 end templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__)) MobileWorkflowCli::AppGenerator.source_root templates_root MobileWorkflowCli::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root MobileWorkflowCli::AppGenerator.start
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mobile_workflow_cli-0.1.7 | bin/mwf |
mobile_workflow_cli-0.1.6 | bin/mwf |