Skip to content

Commit

Permalink
Merge pull request #194 from pearkes/add_y_flag_cli
Browse files Browse the repository at this point in the history
Add -y flag to skip confirmation
  • Loading branch information
petems committed Nov 2, 2015
2 parents e204135 + 278adfc commit b58b4cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/tugboat/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def images
:desc => "Custom SSH options"
method_option "ssh_command",
:type => :string,
:aliases => "-c",
:aliases => [ "-c", "-y" ,],
:desc => "Command to run on the droplet"
def ssh(name=nil)
Middleware.sequence_ssh_droplet.call({
Expand Down Expand Up @@ -190,7 +190,7 @@ def create(name)
:desc => "The exact name of the droplet"
method_option "confirm",
:type => :boolean,
:aliases => "-c",
:aliases => [ "-c", "-y" ,],
:desc => "Skip confirmation of the action"
method_option "image_id",
:type => :numeric,
Expand Down Expand Up @@ -224,7 +224,7 @@ def rebuild(name=nil, image_name=nil)
:desc => "The exact name of the droplet"
method_option "confirm",
:type => :boolean,
:aliases => "-c",
:aliases => [ "-c", "-y" ,],
:desc => "Skip confirmation of the action"
def destroy(name=nil)
Middleware.sequence_destroy_droplet.call({
Expand All @@ -247,7 +247,7 @@ def destroy(name=nil)
:desc => "The exact name of the image"
method_option "confirm",
:type => :boolean,
:aliases => "-c",
:aliases => [ "-c", "-y" ,],
:desc => "Skip confirmation of the action"
def destroy_image(name=nil)
Middleware.sequence_destroy_image.call({
Expand Down

0 comments on commit b58b4cf

Please sign in to comment.