HubSpot / hubspot-cli

A CLI for HubSpot
https://developers.hubspot.com
Other
154 stars 60 forks source link

Fix bug with hs project dev --account flag on private apps #1152

Closed camden11 closed 2 months ago

camden11 commented 2 months ago

Description and Context

hs project dev does not support local development of private apps on developer accounts, but you can currently use the --account flag to bypass this. The CLI will then attempt to upload your project, which will fail. This fixes that and adds a new, more helpful error message.

Note: not sure if this will affect those rare accounts that are simultaneously developer and standard accounts? But IIRC we're already not supporting those properly.

Screenshots

Before

Screenshot 2024-08-23 at 4 10 30 PM

After

Screenshot 2024-08-23 at 4 10 53 PM

Who to Notify

@brandenrodgers @joe-yeager @kemmerle