Closed camden11 closed 2 months ago
How does type
work? Should it be the path to the component, or should it be the name that we display? I'm asking because I tried this and it was a little confusing:
It's the path to the component in the hubspot project components repo. Not exactly the most intuitive, but that's why the prompt is there. Figure its mostly helpful if you ever needed to automate something like this.
That said, just noticed the help
command doesn't make it clear what --type
is supposed to be so I'll update that
@brandenrodgers Updated with a better description of the --type
flag and an example with flags
Description and Context
Noticed recently that the
--type
flag on thehs project add
command was broken in a few ways:--type
was passed in, and would open the prompt even if the user specified a valid typeThis PR fixed both of these things
Screenshots
Before
After
Testing
To test, try running with a valid component type
and an invalid component type
Who to Notify
@brandenrodgers @kemmerle @joe-yeager