Method: Gct::Command::Autotag#validate!
- Defined in:
- lib/gct/command/autotag.rb
#validate! ⇒ Object
41 42 43 44 45 46 |
# File 'lib/gct/command/autotag.rb', line 41 def validate! super help! '请输入项目名.' unless @project_id help! '请输入分支名.' unless @branch help! '请输入版本号.' unless @version end |