Github folder hierarchy: what should I do? (Parent or Inside folder)

I’m making a plugin that allows me to upload a location to github.
But I don’t know what to do with the folder hierarchy.

Which hierarchy would you like?

Idea 1:

-+[workspace]
--+[Script]
---+Parent.lua
---+Parent.property
---+[ScriptInScript]
----+Parent.lua
----+Parent.property

Idea 2:

-+[workspace]
--+[Script]
---+[ScriptInScript]
---+ScriptInScript.lua
---+ScriptInScript.property
--+Script.lua
--+Script.property
  • Idea 1
  • Idea 2
  • Other (reply)

0 voters

1 Like

I would base the folders on their content so scripts folder contains all scripts.
You might wish to use subfolders for example to separate UI scripts from others.

1 Like