-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Select the SuiteCloud tool where you encountered the issue
SuiteCloud CLI
Version of the SuiteCloud Tool
1.9.0
Operating system
Sonoma 14.5
Node Version / VSCode Version
node v20.10.0
JAVA Version
n/a
Bug description
When trying to get the current environment, or set a new environment, account:setup always triggers the interactive interface making programatic tasks impossible. There's no way to confirm which environment the user is connected to, nor to change it.
Steps To Reproduce
suitecloud account:setup
Actual Output
? Select or create an authentication ID (a custom alias you give to a specific account-role combination):
***The authentication ID that you select or create will be set up as default. (Use arrow keys)
❯ Create a new authentication ID.
──────────────
Select a configured authentication ID:
etc.
Expected Output
The currently selected authentication ID.
Anything else?
This makes building safe scripts inviable, we're at risk of a user running scripts against production unintentionally.