mottosso / be

minimal directory and environment management system for collaborative creative projects
GNU Lesser General Public License v2.1
47 stars 4 forks source link

Remove/disable folder creation feature if No development directory found. #51

Open ruchitinfushion opened 5 years ago

ruchitinfushion commented 5 years ago

Here i'm doing folder ingestion via shotgun event, so no point in creating folder from terminal using "be". If directory not found means invalid BE_TOPICS by user. So is it safe to disable folder creation lines in cli.py ??

mottosso commented 5 years ago

How about disabling it by setting a BE_READONLY=1 environment variable?

ruchitinfushion commented 5 years ago

That should do it. Thnx

ruchitinfushion commented 5 years ago

In read-only mode "be new" command will also get disabled ?

mottosso commented 5 years ago

That's true.. is that what you want? Did you say projects were created in Shotgun?

ruchitinfushion commented 5 years ago

Yes, We can keep "be new" available only if BE_READONLY=false.