You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meroxa apps remove myAppName --force fails if myAppName doesn't exist. An advantage of that is that it lets the user know that myAppName doesn't exist, even though a user may have expected it to be there.
On the other hand, the intended goal is not to have an application. If it doesn't exist, then the goal is achieved, so returning an error isn't needed.
Is your feature request related to a problem? Please describe.
Not really.
Describe the solution you'd like apps remove --force should not fail if the app doesn't exist.
Describe alternatives you've considered
Keeping existing behavior has its advantages.
Additional context
In my case, I'm using apps remove only to redeploy an app, and in that context, the fact that an app doesn't exist is not of concern.
It's also in line with what Linux's rm works: rm --force doesn't return an error if the file/directory to be removed doesn't exist. Based on that, I believe apps remove --force would be closer to user expectations.
The text was updated successfully, but these errors were encountered:
meroxa apps remove myAppName --force
fails ifmyAppName
doesn't exist. An advantage of that is that it lets the user know thatmyAppName
doesn't exist, even though a user may have expected it to be there.On the other hand, the intended goal is not to have an application. If it doesn't exist, then the goal is achieved, so returning an error isn't needed.
Is your feature request related to a problem? Please describe.
Not really.
Describe the solution you'd like
apps remove --force
should not fail if the app doesn't exist.Describe alternatives you've considered
Keeping existing behavior has its advantages.
Additional context
In my case, I'm using
apps remove
only to redeploy an app, and in that context, the fact that an app doesn't exist is not of concern.It's also in line with what Linux's
rm
works:rm --force
doesn't return an error if the file/directory to be removed doesn't exist. Based on that, I believeapps remove --force
would be closer to user expectations.The text was updated successfully, but these errors were encountered: