Sha256: f2b210bd7c0851d44e20111b21dc73782a668355430494dc0a3715d5d7f0418a
Contents?: true
Size: 763 Bytes
Versions: 1
Compression:
Stored size: 763 Bytes
Contents
require 'KCommercialPipeline/command/command' require 'KCommercialPipeline/core/git_hook/install_git_hook' module KCommercial module KCPipeline class Command class GitHookInstall < Command attr_reader :platform self.command = 'git_hook_install' self.version = KCommercialPipeline::VERSION self.summary = '一键安装商业化中台githook' def initialize(argv) @platform = argv.option('platform') || "iOS" super end def self.options [ ['--platform', "填iOS or Android,根据平台安装两端githook"] ].concat(super ) end def run InstallGitHook.new(@platform).install! end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
KCommercialPipeline-0.2.5.1 | lib/KCommercialPipeline/command/git_hook_install_cmd.rb |