generator-smacss icon indicating copy to clipboard operation
generator-smacss copied to clipboard

An option to create project in current directory

Open gokulkrishh opened this issue 9 years ago • 3 comments

Lets say we already have git repo and we need to create a project in the root of the cloned repo. There is not option to it add in same directory.

There should be flag to create project in current directory. Like below

yo smacss current

gokulkrishh avatar Apr 13 '15 06:04 gokulkrishh

Great suggestion, Adding it to backlog

logeshpaul avatar Apr 13 '15 07:04 logeshpaul

We can use ./ for rendering the application in the current folder.

ThiyagarajanJ avatar Apr 14 '15 05:04 ThiyagarajanJ

Based on the discussion, we can give the user one more option in the prompt

"Do you want to use current directory as project location?" Yes [or] No

Yes: Takes the current directory as appPath and perform scaffolding No: Creates a directory with appName and perform scaffolding in that location.

logeshpaul avatar Apr 14 '15 08:04 logeshpaul