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

nested inventory #49

Open ruchitinfushion opened 6 years ago

ruchitinfushion commented 6 years ago

Do i need to keep inventory.yaml this way ?

Asset:
   set:
        -park
        -zoo
        -road
    prop:
       -bottle
       -mobile
       -sh203
   char:
       -joker
       -alien
Sequence:
    seq001:
        -sh101
        -sh102
        -sh103
    seq002:
       -sh201
       -sh202
       -sh203

in terminal

be in project set park modeling
be in project seq001 sh103 animation
mottosso commented 6 years ago

Have you had a look at the docs for the inventory?

And here's an example.

ruchitinfushion commented 6 years ago

Got it, One more quick question, BE_BINDING return asset or sequence based on BE_TOPICS but How do you parse "BE_TOPICS" variable directly in terminal to retrieve user arguments ?

inventory.yaml

asset:
- bruce
- luke

sequence:
- seq01
- seq02

shot:
- sh101
- sh102
- sh103

in terminal for shot be in hulk seq01 sh103 animation (i.e BE_TOPICS=hulk seq01 sh103 animation) for asset be in hulk bruce rigging (i.e BE_TOPICS=hulk seq01 sh103 animation)

mottosso commented 5 years ago

For parsing topics, this looks to be it.