enonic / cli-enonic

GNU General Public License v3.0
41 stars 2 forks source link

`sandbox upgrade` shouldn't ask about the project's sandbox #525

Closed alansemenov closed 7 months ago

alansemenov commented 9 months ago

sandbox upgrade command always ask which sandbox should be upgraded, even when ran from inside a project's folder where we already know the sandbox. Fix it so that in this case we don't have an extra step but always try to upgrade the current project's sandbox. Only ask to select a sandbox when a project is not linked to one or when the command is ran outside a project's folder.