HubSpot / hubspot-cli

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

dependency command #361

Open TheWebTech opened 4 years ago

TheWebTech commented 4 years ago

This idea is really @ajlaporte's.

A command that can list the dependencies for a module/template/file. Just like what shows within the design manager. Just brings us closer to parity between the design manager and CLI functionality. Because the functionality is in the design manager this is not an urgent need.

Proposed command: hs dependents <file/path> file/path being within the account's developer file system.

It would need to work for multiple asset types and that makes things a little tricky:

TanyaScales commented 1 year ago

Adding onto this -- it would be great to bubble up dependency information within the watch/upload commands if files with dependents are going to be removed locally and that removal is going to be pushed remotely to the Design Manager.