-
Notifications
You must be signed in to change notification settings - Fork 227
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
Investigate requiring -a
flag for all renaming operations
#3200
Comments
Hi @jmasson, the behavior you described is just how the Heroku CLI operates to determine the target app for any command requiring the When the I.e. a command like the one you described: |
Hi @sbosio, I was attempting to rename the app, from within the git repo. As you said, I didn't think I would need to provide the Here's a bit fuller explanation of what I did/observed: Steps to reproduce
Expected behaviour
Actual behaviour Terminal output for above steps:
Hope that helps, let me know if I can add any more details at all! |
The following comment was made on #3110 - This issue is to track this request and investigate
//-----------------------------------------
@justinwilaby I was playing with this today and found if I'm inside my apps git repository, and have a heroku remote, I can run
heroku apps:rename new-example-app
without-a
, and so still get the behaviour of the remote being deleted. If I don't have a remote, it does give theMissing required flag app
error.I wonder if
-a
should be required, even when you have a single heroku remote, if that's the only way to ensure the renaming happens? CLI help does already say that it is: (-a, --app=<value> (required) app to run command against
) but seems not in this circumstance (similar toheroku apps:info
, etc).I guess even nicer would be if it renamed it without
-a
in circumstances where that is allowed (I assume when there is only one remote?).Originally posted by @jmasson in #3110 (comment)
//-------------------------------------------
The text was updated successfully, but these errors were encountered: