code-connect
code-connect copied to clipboard
Allow to pass directory to figma connect create
Hey, when generating components it is quite annoying to go into each directory.
I would love to have an option to pass a relative directory:
$ npx figma connect create 'https://...' # generates file in current directory
$ npx figma connect create /components/button 'https://...' # generates file in [current_dir]/components/button
Nice, great suggestion. We'll look into supporting this. We'd likely implement it as a flag, like --outFile or similar