Class: DYAutomate::Command::TaskFlow

Inherits:
DYAutomate::Command show all
Defined in:
lib/DYAutomate/Command/taskFlow.rb,
lib/DYAutomate/Command/TaksFlow/test.rb

Direct Known Subclasses

Test

Defined Under Namespace

Classes: Test

Instance Attribute Summary collapse

Attributes inherited from DYAutomate::Command

#config, #env_str, #repo_name

Instance Method Summary collapse

Methods inherited from DYAutomate::Command

#pp

Constructor Details

#initialize(argv) ⇒ TaskFlow

Returns a new instance of TaskFlow.



18
19
20
# File 'lib/DYAutomate/Command/taskFlow.rb', line 18

def initialize(argv)
  super
end

Instance Attribute Details

#git_objObject

#查询结果lib信息



16
17
18
# File 'lib/DYAutomate/Command/taskFlow.rb', line 16

def git_obj
  @git_obj
end

#pathObject

路径



14
15
16
# File 'lib/DYAutomate/Command/taskFlow.rb', line 14

def path
  @path
end

Instance Method Details

#runObject



33
34
35
# File 'lib/DYAutomate/Command/taskFlow.rb', line 33

def run
  pp('git run ...',1)
end

#validate!Object



22
23
24
25
26
27
28
29
30
31
# File 'lib/DYAutomate/Command/taskFlow.rb', line 22

def validate!
  super
  # unless @name
  #   help! 'need the lib `NAME`.'
  # end

  # unless existGit?
  #   help! "at #{Dir.pwd},is not git"
  # end
end