adobe / aio-cli-plugin-console

Adobe's Developer Console plugin for the Adobe I/O CLI
https://www.adobe.io
Apache License 2.0
6 stars 11 forks source link

ensure developer terms have been accepted #203

Open shazron opened 1 year ago

shazron commented 1 year ago

Not sure if we need to run this for every command, but we should be able to handle a:

451 - Unknown
 »   ("Use POST /console/services/ims/organizations/:orgId/terms API to accept
 »   developer terms for your org first. You can use GET
 »   /console/services/ims/terms to retrieve the current developer terms.")

See usage in the app plugin: https://github.com/adobe/aio-cli-plugin-app/blob/fd8d39512c1cf4c7ddf3d731d1ffe5cc68b536ac/src/commands/app/init.js#L196-L212

aiojbot commented 1 year ago

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2506

purplecabbage commented 2 months ago

this came up today. I think we should just ask the user to open the console ui and accept the t&c