-
Notifications
You must be signed in to change notification settings - Fork 235
Description
The following comment was made on #3110 - This issue is to track this request and investigate
//-----------------------------------------
My apologies @eablack - In this case the
-aflag is needed which I unintentionally omitted in the test instructions. Please try again with the updated instructions.
@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 the Missing 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 to heroku 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)
//-------------------------------------------