lumoz-ai / brick-python-sdk

Python SDK for building bricks compatible with Lumoz Platform
1 stars 1 forks source link

Template name created as a directory inside the brick name while creating new bricks #15

Closed hrisheekeshr closed 4 years ago

hrisheekeshr commented 4 years ago

In version, bricksdk==0.1.5, when a new brick is created using

brick create -n brick_name -f template_name,

instead of the files displaying inside the brick_name folder (brick_name/{contents}, it creates another folder brick_name/template_name/{contents}/.

If you cd into the template_name directory, you can run the brick proto -d command and brick proto -c command as a temporary workaround.

ramachandranrishi commented 4 years ago

The easier way to handle this solution is to restructure the zip files in the template-store repo.

ramachandranrishi commented 4 years ago

@hrisheekeshr I have changed the folder structures of the template zip files in the template-store repo. I am closing this issue here.