code-connect icon indicating copy to clipboard operation
code-connect copied to clipboard

Allow to pass directory to figma connect create

Open lukasoppermann opened this issue 1 year ago • 1 comments

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

lukasoppermann avatar May 03 '24 08:05 lukasoppermann

Nice, great suggestion. We'll look into supporting this. We'd likely implement it as a flag, like --outFile or similar

karlpetersson avatar May 08 '24 13:05 karlpetersson