Class: Toolshed::Commands::PushBranch
- Defined in:
- lib/toolshed/commands/push_branch.rb
Class Method Summary collapse
Instance Method Summary collapse
- #execute(args, options = {}) ⇒ Object
-
#initialize(options = {}) ⇒ PushBranch
constructor
A new instance of PushBranch.
Methods inherited from Base
parse, #read_user_input, #read_user_input_body, #read_user_input_password, #read_user_input_title, #use_project_id, #use_ticket_tracker_by_type, #use_ticket_tracker_project_id, #use_ticket_tracker_project_name
Constructor Details
#initialize(options = {}) ⇒ PushBranch
Returns a new instance of PushBranch.
5 6 7 |
# File 'lib/toolshed/commands/push_branch.rb', line 5 def initialize( = {}) super() end |
Class Method Details
.cli_options ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/toolshed/commands/push_branch.rb', line 9 def self. { banner: 'Usage: push_branch [options]', options: { force_command: { short_on: '-f', default: true }, branch_name: { short_on: '-b' } } } end |