Open koshmack opened 1 year ago
I was also thinking of doing something similar but it wasn't always easy to draw the line between the two - IIRC some of the 'examples' don't use either of the interfaces.
Perhaps we should use something like /examples/scripts
for all maintained scripts, /examples/client
for demo/ true examples and /examples/deprecated-hubinstance
for everything else?
Agree with the ideas for holding the scripts which are using Client class in /examples/client and other ones which are using HubInstance class in /examples/deprecated-hubinstance. What other scripts are suggested to move to /examples/scripts? Maybe scripts which are using neither Client nor HubInstance? Besides that, it sounds like difficult to me to draw the line between 'maintained' and 'not maintained' apart form the used hub classes (Client or HubInstance).
As you say, not maintained is essentially anything using HubInstance.
I think ideally the base /examples
directory should only contain the folders:
/examples/client
/examples/offline-scripts
/examples/deprecated-hubinstance
Everything else that is currently there can be classified under one of these.
I will create clean up commit later to move scripts which are supposed to be placed under ./examples/client with instructive README