Class: Ora::Cli::DeleteFeatureBranch
- Defined in:
- lib/ora/cli/tasks/delete_feature_branch.rb
Constant Summary
Constants inherited from Task
Instance Attribute Summary
Attributes inherited from Task
#branch, #develop_branch, #print, #stdin
Instance Method Summary collapse
Methods inherited from Task
Constructor Details
This class inherits a constructor from Ora::Cli::Task
Instance Method Details
#commands ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/ora/cli/tasks/delete_feature_branch.rb', line 5 def commands ' :feature_branch! :clean_branch! git checkout #{develop_branch} git branch -D #{branch} git push origin :#{branch} || true ' end |