Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

cli: Adding --remote flag on "flynn create" command #777

Merged
merged 3 commits into from
Jan 20, 2015

Conversation

jvatic
Copy link
Contributor

@jvatic jvatic commented Jan 20, 2015

This replaces #717

@titanous
Copy link
Contributor

Squash ad49402 into 0331213 (and don't forget to update or remove the commit sha in 145b17e).

-y, --yes Skip the confirmation prompt.
-r, --remote <remote> Name of git remote to delete, empty string for none. [default: flynn]
-y, --yes Skip the confirmation prompt.
--app <name> Explicitly set name of app to delete (otherwise found automatically if --remote is not an empty string).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a global -a flag, so --app should be redundant.

Signed-off-by: Geovani de Souza <geovanisouza92@gmail.com>
This allows deleting apps created via `flynn create --remote <remote>`.

Refs e25f3f3

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>
Tests `flynn create --remote <remote>` where `<remote>` is any string
other than "flynn".

Tests `flynn delete --remote <remote>` where `<remote>` is the string
used for `flynn create --remote <remote>`.

Tests `flynn delete --remote <remote> --app <name>` where `<remote>` is
an empty string and `<name>` is the name of the app.

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>
@jvatic
Copy link
Contributor Author

jvatic commented Jan 20, 2015

@titanous comments addressed

@titanous
Copy link
Contributor

LGTM

jvatic added a commit that referenced this pull request Jan 20, 2015
cli: Adding --remote flag on "flynn create" command
@jvatic jvatic merged commit 63ef5fd into master Jan 20, 2015
@jvatic jvatic deleted the cli-flynn-create-remote branch January 20, 2015 19:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants