Sha256: 674dc2ee6f241e37d68114d3c2f126a724f7176c61d4d6a059ecbc1134dfabf2
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
#!/usr/bin/env ruby require 'big_keeper/version' require 'big_keeper/util/bigkeeper_parser' require 'big_keeper/util/git_operator' require 'big_keeper/util/verify_operator' require 'big_keeper/model/gitflow_type' require 'big_keeper/command/feature&hotfix' require 'big_keeper/command/release' require 'big_keeper/command/pod' require 'big_keeper/service/git_service' require 'gli' include GLI::App module BigKeeper # Your code goes here... program_desc 'Efficiency improvement for iOS&Android module development, iOSer&Android using this tool can make module development easier.' flag %i[p path], default_value: './' flag %i[v ver], default_value: 'Version in Bigkeeper file' flag %i[u user], default_value: GitOperator.new.user.gsub(/[^0-9A-Za-z]/, '').downcase if VerifyOperator.already_in_process? p %Q(There is another 'big' command in process, please wait) exit end if !GitflowOperator.new.verify_git_flow_command p %Q('git-flow' not found, use 'brew install git-flow' to install it) exit end feature_and_hotfix_command(GitflowType::FEATURE) feature_and_hotfix_command(GitflowType::HOTFIX) release_command pod_command desc 'Show version of bigkeeper' command :version do |version| version.action do |global_options, options, args| p "bigkeeper (#{VERSION})" end end exit run(ARGV) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bigkeeper-0.8.2 | lib/big_keeper.rb |
bigkeeper-0.8.1 | lib/big_keeper.rb |