Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -y flag to skip confirmation #194

Merged
merged 1 commit into from
Nov 2, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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